Comparison
memory-profiler vs memray vs scalene vs yappi
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A module for monitoring memory usage of a python program
Low maintenance activity. Last release over 4 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install memory-profilerA 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 memrayScalene: 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, 1.8× more than memory-profiler.
- Maintenance is comparable: memray 86, scalene 84, yappi 48, memory-profiler 29 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 | memory-profiler | memray | scalene | yappi |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | 86 |