Skip to main content

Python cProfile and hotshot profile's data to HTML Converter

Project description

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

Supported by

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