Source

pyprof2html /

Filename Size Date modified Message
pyprof2html
test
74 B
944 B
1.6 KB
1.5 KB
65 B
325 B
920 B
1.0 KB

About

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)

Install

used to easy_install:

$ easy_install pyprof2html

Require

Require Jinja2 module.

Ubuntu

python-profiler (Ubuntu Package)

installed to:

$ easy_install jinja2

or:

$ sudo apt-get intall python-jinja2
$ sudo apt-get intall python-profiler

Usage

basic usage:

$ python -m cProfile -o PROFILE_DATA USER_SCRIPT.py
$ pyprof2html PROFILE_DATA
$ ls
html