Comparison
pyinstrument vs viztracer vs yappi
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 5 days ago, commits in 11 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 viztracerYet 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
- pyinstrument is the most used: 9.4M downloads a month, 2.8× more than yappi.
- pyinstrument also has the best Pythie’s Index (74).
- yappi is growing fastest: downloads +11% over the last month.
- Safe default for a new project: pyinstrument.
Side by side
| Metric | pyinstrument | viztracer | yappi |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 74 | 36 |