codeflash-benchmark
Pytest benchmarking plugin for codeflash.ai - automatic code performance optimization
What it is and what it does
codeflash-benchmark is a pytest plugin designed to integrate benchmarking into CodeFlash's automatic code optimization workflow. It extends pytest with performance measurement capabilities that CodeFlash uses to evaluate and validate code optimizations. The plugin depends only on pytest and installs with minimal friction.
The package is positioned as part of CodeFlash's optimization pipeline rather than as a standalone benchmarking tool. It is actively maintained and supports current Python versions (3.9+). However, the license terms are not declared, and the exact benchmarking features and metrics it provides are not detailed in the available documentation.
Use it for:
- Measure performance of code before and after CodeFlash optimizations in an automated pipeline.
- Integrate performance testing into pytest suites used by CodeFlash's optimization service.
- Validate that code changes improve performance as part of continuous integration workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A pytest plugin that adds benchmarking capabilities for CodeFlash's automatic code performance optimization pipeline.
Yes, if you are using CodeFlash's optimization service and need to measure performance impact in pytest. The low install friction and active maintenance make it a reasonable choice for that specific workflow. However, verify the license terms first, and confirm that the plugin's benchmarking output meets your performance measurement needs before committing to it in production.
Install
codeflash-benchmark on PyPI
pip
pip install codeflash-benchmarkuv
uv add codeflash-benchmarkpoetry
poetry add codeflash-benchmarkInstalling codeflash-benchmark
Before you install
Low install friction with a single runtime dependency on pytest. The package is actively maintained with recent releases, though repository metadata is not publicly available.
License in practice
License status is unclear—no SPDX identifier or raw license text is declared. Verify the actual license terms before using in proprietary or restricted contexts.
Quickstart
pip install codeflash-benchmark
import pytest
# Use in pytest tests; plugin integrates automatically with pytest
Requires Python 3.9 or later; pytest must be installed as a runtime dependency.
Verify before relying
- What license does this package actually use, and are there any restrictions on commercial or derivative use?
- Does the plugin require CodeFlash account credentials or API keys to function?
- What specific benchmarking metrics or output formats does the plugin provide?
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pytest |
| Maintenance | actively maintained — 176 days since the last release |
| First released | |
| Downloads | 151,172/month — #10,941 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: codeflash_benchmark-0.3.0-py3-none-any.whl
Keywords: codeflash, benchmark, pytest, performance, testing
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
codeflashCodeflash is a CLI tool that uses LLMs to…
unclear · top 15,000 on PyPI
pytest-benchmarkA pytest fixture that benchmarks Python…
permissive · top 5,000 on PyPI
asv-runnerProvides core Python benchmark execution code…
permissive · top 15,000 on PyPI
asvasv benchmarks Python packages over their…
permissive · top 15,000 on PyPI
google-benchmarkProvides Python bindings to Google's C++…
permissive · top 15,000 on PyPI
msbench-utilsProvides utility functions and helpers for…
permissive · top 15,000 on PyPI
pytest-codspeedA pytest plugin that integrates performance…
permissive · top 5,000 on PyPI
pytest-harvestpytest-harvest captures and stores data…
permissive · top 15,000 on PyPI
pyperfpyperf is a toolkit for writing, running, and…
permissive · top 15,000 on PyPI
harborHarbor is a framework for running and…
permissive · top 5,000 on PyPI