/pytracing

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

Primary LanguagePythonMIT LicenseMIT

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