Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sysread/pyprof
A report generator for python profiling data
https://github.com/sysread/pyprof
Last synced: about 2 months ago
JSON representation
A report generator for python profiling data
- Host: GitHub
- URL: https://github.com/sysread/pyprof
- Owner: sysread
- Created: 2013-02-21T15:28:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-21T16:24:35.000Z (almost 12 years ago)
- Last Synced: 2023-03-23T22:19:38.751Z (almost 2 years ago)
- Language: Python
- Size: 148 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NAME
----
pyprof - a report generator for python profiling dataSYNOPSIS
--------
`pyprof_report -d datafile [-o output_dir] [-f html] [-c 1]`DESCRIPTION
-----------
`pyprof` generates reports from data files created using the [Python
profiler](http://docs.python.org/2.7/library/profile.html). Report data
summarizes performance by file with individual pages for each source file,
making it much easier to visualize the performance of individual functions.OPTIONS
-------
-d datafile the profiler data generated by cProfile
-o output_dir the directory to which the report was generated
-f format data format (currently only html is supported, which is the
default)
-c colorize generate colorized HTML (defaults to true (1), ignored if
format is not html)
-I includes colon-separated list of search paths
-r replace colon-separated list of replacement paths; path text and
replacements are separated by an equal sign (=)EXAMPLES
--------
Profile your software:python -m cProfile -o profiler_data my_app.py
Generate your report:
pyprof_report -d profiler_data -o output
NOTES
-----
Only HTML format is currently supported