This script is converted to HTML file from Python's profile, Profile and hotshot profiling data. inspired by Devel::NYTProf (Perl Module)
sample data (pystone hotshot linetimings pystone cProfile)
used to easy_install:
$ easy_install pyprof2html
Require Jinja2 module.
python-profiler (Ubuntu Package)
installed to:
$ easy_install jinja2
or:
$ sudo apt-get intall python-jinja2 $ sudo apt-get intall python-profiler
basic usage:
$ python -m cProfile -o PROFILE_DATA USER_SCRIPT.py $ pyprof2html PROFILE_DATA $ ls html