Last updated:
0 purchases
pttp 0.0.3
pttp
A Python tracing profiler.
Tracing profilers trace every function call in your Python program.
Tracing profilers in Python are fairly trivial (mostly just calling sys.settrace()). pttp's notable feature is it calls your code, so you don't have to modify your source code.
Installation
pip install pttp
Usage
## Generate Python trace data
python -m pttp your_script.py
python -m pttp -m your_script
## Upload 'your_script.speedscope.json' to https://speedscope.app to view the profile.
License
pttp is distributed under the terms of the MIT license.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.