pytracing

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


License
MIT
Install
pip install pytracing==0.4

Documentation

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