Comparison
django-cprofile-middleware vs django-silk vs line-profiler vs pyinstrument
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Easily add cProfile profiling to django views.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install django-cprofile-middlewareSilky smooth profiling for the Django Framework
Actively maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install django-silkLine-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 11 of the last 26 weeks. A safe choice.
pip install pyinstrumentIn short
- django-cprofile-middleware looks abandoned: avoid it for new projects.
- pyinstrument is the most used: 9.4M downloads a month, 3.7× more than django-silk.
- Maintenance is comparable: line-profiler 77, django-silk 75, pyinstrument 74 on Pythie’s Index.
- Safe default for a new project: pyinstrument.
Side by side
| Metric | django-cprofile-middleware | django-silk | line-profiler | pyinstrument |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 75 | Pythie’s Index: 77 | Pythie’s Index: 74 |
| Verdict | Likely abandoned | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 104.6K | 2.5M | 2M | 9.4M |
| Downloads, month over month | +13% | +6% | -5% | +10% |
| GitHub stars | 152 | 5K | 3.3K | 8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 6 | 83 | 81 |
| Last release | Feb 20, 2020 | Sep 12, 2026 | Oct 18, 2026 | Nov 27, 2026 |
| Releases, 12 months | 0 | 3 | 3 | 3 |
| Weeks with commits | 0 / 26 | 12 / 26 | 10 / 26 | 11 / 26 |
| Recent contributors | 9 | 21 | 11 | 12 |
| First release | Sep 2013 | Jun 2014 | Jan 2009 | Jun 2014 |
| Python versions | – | 3.10 – 3.15 | 3.10 – 3.15 | – |
| License | MIT | MIT | BSD-3-Clause | non-standard |
| 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.