pytest-codspeed
pytest-codspeed copied to clipboard
Pytest plugin to create CodSpeed benchmarks
I have a package and I hope the first import times are minimal. I used `subprocess.check_output` to start a new Python process and import modules. However, I just learned that...
Depends on: https://github.com/CodSpeedHQ/instrument-hooks/pull/1 (must be merged and released before merging this)
The following command fails with `.venv/bin/../lib/libpython3.12.so.1.0: cannot open shared object file: No such file or directory`: ```bash codspeed run -- uv run pytest tests/ PREPARING THE ENVIRONMENT Environment ready RUNNING...
I have some code I'd like to benchmark on codspeed which requires custom setup before each iteration. (If you're interested, it's testing the performance of a partially-populated cache which will...
[The codspeed docs](https://docs.codspeed.io/benchmarks/python) currently say: > Creating benchmarks with pytest-codspeed is the same as with the pytest-benchmark API. So if you already have benchmarks written with it, you can start...
I see that the walltime measurement is still considered beta, and is advertised together with your custom hosted runners (https://docs.codspeed.io/instruments/walltime/) Because the instrumentation based measurement is unbearably slow for us,...