Add CodSpeed performance benchmarks#209
Conversation
|
|
1 similar comment
|
|
1cf24ac to
d64b771
Compare
Congrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
Congrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
|
Note: This PR is experimental, to test out a benchmarking framework I recently learned of. DO NOT MERGE! |
Summary
This PR integrates CodSpeed for continuous performance testing of the OSQP Python solver. It adds a benchmark suite covering the core solver operations and a GitHub Actions workflow that runs these benchmarks on every push to
masterand on pull requests.Changes
Benchmark suite (
benchmarks/bench_solver.py)11 benchmarks using
pytest-codspeed(compatible withpytest-benchmarkAPI) covering:CI workflow (
.github/workflows/codspeed.yml)master, pull requests, andworkflow_dispatch(for CodSpeed backtesting)CodSpeedHQ/action@v4README
Next steps
Once this PR is merged:
master