Comparison
memory-profiler vs memray
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 4 days ago, commits in 18 of the last 26 weeks. A safe choice.
$
pip install memrayIn short
- memray is the most used: 9.8M downloads a month, 1.9× more than memory-profiler.
- memray also has the best Pythie’s Index (86).
- Safe default for a new project: memray.
Side by side
| Metric | memory-profiler | memray |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | 86 |