Comparison
pytest-benchmark vs pytest-codspeed
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer.
Maintained. Last release 4 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install pytest-benchmarkPytest plugin to create CodSpeed benchmarks
Actively maintained. Last release 4 weeks ago, commits in 6 of the last 26 weeks. A safe choice.
$
pip install pytest-codspeedIn short
- pytest-benchmark is the most used: 12M downloads a month, 4.5× more than pytest-codspeed.
- pytest-codspeed is better maintained: Pythie’s Index 78 against 60.
Side by side
| Metric | pytest-benchmark | pytest-codspeed |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 60 | 78 |