1. Hideo Hattori
  2. pyprof2html

Source

pyprof2html /

Filename Size Date modified Message
pyprof2html
test
106 B
initial commit for tox
1.1 KB
Added tag ver0.3.1 for changeset efefa30ffd55
163 B
add authors file
1.6 KB
release to 0.2
1.5 KB
update
104 B
add authors file
337 B
update: dev environment
1.2 KB
add links
7 B
for pip
1.2 KB
fix fail install
106 B
initial commit for tox

About

https://drone.io/bitbucket.org/hhatto/pyprof2html/status.png

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)

Installation

used to easy_install:

$ easy_install pyprof2html

Requirements

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