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...
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up| Failed to load latest commit information. | |||
|
|
pytracing |
|
|
|
|
.gitignore |
|
|
|
|
LICENSE |
|
|
|
|
README.md |
|
|
|
|
setup.cfg |
|
|
|
|
setup.py |
|
|
|
|
test_pytracing.py |
|
|
a python trace profiler that outputs to chrome trace-viewer format (about://tracing).
from pytracing import TraceProfiler
tp = TraceProfiler(output=open('/tmp/trace.out', 'wb'))
with tp.traced():
...execute something here...