Comparison
memray vs pyinstrument vs scalene vs yappi
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A memory profiler for Python applications
Actively maintained. Last release 6 days ago, commits in 15 of the last 26 weeks. A safe choice.
pip install memrayCall 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
- memray is the most used: 9.5M downloads a month.
- Maintenance is comparable: memray 86, scalene 84, pyinstrument 74, yappi 48 on Pythie’s Index.
- yappi is growing fastest: downloads +11% over the last month.
- Safe default for a new project: memray.
Side by side
| Metric | memray | pyinstrument | scalene | yappi |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 74 | Pythie’s Index: 84 | Pythie’s Index: 48 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 9.5M | 9.4M | 298.5K | 3.3M |
| Downloads, month over month | -12% | +10% | -12% | +11% |
| GitHub stars | 15.4K | 8K | 13.6K | 1.7K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 81 | 5 | 25 |
| Last release | Nov 26, 2026 | Nov 27, 2026 | Oct 23, 2026 | Mar 17, 2026 |
| Releases, 12 months | 4 | 3 | 10 | 2 |
| Weeks with commits | 15 / 26 | 11 / 26 | 14 / 26 | 2 / 26 |
| Recent contributors | 15 | 12 | 8 | 6 |
| First release | Apr 2022 | Jun 2014 | Dec 2019 | Aug 2011 |
| Python versions | 3.9 – 3.15 | – | 3.8 – 3.14 | 3.9 – 3.14 |
| License | Apache-2.0 | non-standard | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.