Python tracing profiler
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pttp-0.0.2.tar.gz
(6.0 kB
view hashes)
Built Distribution
pttp-0.0.2-py3-none-any.whl
(4.6 kB
view hashes)