Overview

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