Skip to content

adeelyounas/cprofilev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cprofilev

A thin wrapper for viewing python's cProfile output.

about

cprofilev is a thin wrapper for viewing python's cProfile output. It provides a simple html view of the pstats.Stats object that is generated.

installation

on most UNIX-like systems, you'll probably need to run the following `install` command as root or by using sudo

pip

pip install cprofilev

quickstart

  1. Simply pass the cprofile output file as an argument to cprofilev
$ cprofilev /path/to/cprofile/output
  1. Navigate to http://localhost:4000

usage

$ cprofilev --help
usage: cprofilev.py [-h] [--version] [-v] [-p PORT] cprofile_output

Thin wrapper for viewing python cProfile output.

positional arguments:
  cprofile_output       The cProfile output to view.

  optional arguments:
    -h, --help            show this help message and exit
    --version             show program's version number and exit
    -v, --verbose
    -p PORT, --port PORT  specify the port to listen on. (defaults to 4000)

Dependencies

bottle: used for serving the html page.

About

Thin wrapper for viewing python cProfile output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published