a python trace profiler that outputs to chrome trace-viewer format (about://tracing).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pytracing basic py3 compatablitiy Jan 16, 2018
.gitignore Initial commit Jul 26, 2015
LICENSE Initial commit Jul 26, 2015
README.md Revise docs. Jul 27, 2015
setup.cfg Add setup.cfg Jul 27, 2015
setup.py basic py3 compatablitiy Jan 16, 2018
test_pytracing.py basic py3 compatablitiy Jan 16, 2018

README.md

pytracing

a python trace profiler that outputs to chrome trace-viewer format (about://tracing).

usage

from pytracing import TraceProfiler
tp = TraceProfiler(output=open('/tmp/trace.out', 'wb'))
with tp.traced():
  ...execute something here...

screenshots

click to view detail

click to view detail

selection and aggregate view

selection and aggregate view

zooming

zoom