Skip to content

msherry/pstats_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pstats_viewer

An interactive browser for Python's cProfile output in pstats format.

Python's cProfile module is great for collecting profiling data on Python programs, but interpreting the output isn't easy. This tool allows for browsing this data in a simple web-based tool.

Based on the original released by IMVU with some enhancements and fixes.

screenshot of index screenshot of detail

Getting Started

Prerequisities

There are no prerequisites for running pstats_viewer other than Python itself.

Running the viewer

Running pstats_viewer on the cProfile output file of your choice will start a local web server on port 4040:

pstats_viewer.py <stats.dat>

An alternate port number may also be provided:

pstats_viewer.py <stats.dat> <port_number>

About

A simple web frontend to view Python pstats files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published