Comparison
codeflash-benchmark vs pytest-benchmark vs pytest-codspeed
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pytest benchmarking plugin for codeflash.ai - automatic code performance optimization
Maintained. Last release 9 months ago. Weaker on release cadence.
$
pip install codeflash-benchmarkA ``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.
- codeflash-benchmark is growing fastest: downloads +56% over the last month.
- codeflash-benchmark is the newcomer: first released Jul 2025.
Side by side
| Metric | codeflash-benchmark | pytest-benchmark | pytest-codspeed |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 54 | 60 |