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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyprof2html, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size pyprof2html-0.3.2.tar.gz (42.1 kB) File type Source Python version None Upload date Hashes View
Filename, size pyprof2html-0.3.2-py2.7.egg (51.1 kB) File type Egg Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page