Comparison
austin-dist vs line-profiler vs pyinstrument vs scalene
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Austin - Frame Stack Sampler for CPython
Maintained. Last release 5 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install austin-distLine-by-line profiler
Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install line-profilerCall stack profiler for Python. Shows you why your code is slow!
Actively maintained. Last release 6 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install pyinstrumentScalene: A high-resolution, low-overhead CPU, GPU, and memory profiler for Python with AI-powered optimization suggestions
Actively maintained. Last release 6 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install scaleneIn short
- pyinstrument is the most used: 9.5M downloads a month, 4.7× more than line-profiler.
- Maintenance is comparable: scalene 84, line-profiler 77, pyinstrument 76, austin-dist 48 on Pythie’s Index.
- Safe default for a new project: pyinstrument.
Side by side
| Metric | austin-dist | line-profiler | pyinstrument | scalene |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 48 | 77 |