kwlzn / pytracing

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 100.0%