Comparison
chalk-viztracer vs py-spy vs pyinstrument
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A debugging and profiling tool that can trace and visualize python code execution (Chalk fork)
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install chalk-viztracerSampling profiler for Python programs
Actively maintained. Last release 13 days ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install py-spyCall 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 pyinstrumentIn short
- py-spy is the most used: 21.7M downloads a month, 2.3× more than pyinstrument.
- Maintenance is comparable: pyinstrument 74, py-spy 71, chalk-viztracer 46 on Pythie’s Index.
- py-spy is growing fastest: downloads +13% over the last month.
- chalk-viztracer is the newcomer: first released Aug 2026.
- Safe default for a new project: py-spy.
Side by side
| Metric | chalk-viztracer | py-spy | pyinstrument |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 46 | 71 |