Comparison
pyinstrument vs viztracer
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 4 days ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install pyinstrumentA debugging and profiling tool that can trace and visualize python code execution
Low maintenance activity. Last release 13 months ago, commits in 7 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install viztracerIn short
- pyinstrument is the most used: 9.3M downloads a month, 6.3× more than viztracer.
- pyinstrument also has the best Pythie’s Index (78).
- viztracer is growing fastest: downloads +10% over the last month.
- Safe default for a new project: pyinstrument.
Side by side
| Metric | pyinstrument | viztracer |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 78 | 36 |