Skip to main content

Python cProfile and hotshot profile's data to HTML Converter

Project description

About

This script is converted to HTML file from Python’s profile, cProfile 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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page