Comparison
pyinstrument vs scalene vs yappi
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Call stack profiler for Python. Shows you why your code is slow!
Actively maintained. Last release 5 days ago, commits in 11 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 scaleneYet Another Python Profiler
Maintained. Last release 9 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install yappiIn short
- pyinstrument is the most used: 9.1M downloads a month, 2.8× more than yappi.
- Maintenance is comparable: scalene 84, pyinstrument 74, yappi 48 on Pythie’s Index.
- Safe default for a new project: pyinstrument.
Side by side
| Metric | pyinstrument | scalene | yappi |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 84 |