austin

Python frame stack sampler for CPython profiling and analysis

brewmacoslinux
Try with needOr install directly
Source

About

Python frame stack sampler for CPython

Commands

austin

Examples

Profile a Python script and output results to a file$ austin -o profile.austin python script.py
Sample a running Python process by PID with 100ms interval$ austin -i 100ms -p <pid>
Profile with memory stats output in collapsed stack format$ austin -m -f collapsed python app.py | flamegraph.pl > flame.svg