libvcs
libvcs copied to clipboard
Codspeed - performance benchmarks
trafficstars
[!NOTE]
- [ ] Annotation needed for
benchmark(BenchmarkFixture)
Problem
It's difficult to catch performance degradation or improvements over time, in a PR, etc.
Changes
Add performance benchmarks
TBD
Setup codpseed
Configure on website, set secret, etc.
py(deps[test]) Add pytest-codspeed
See also:
- https://pypi.org/project/pytest-codspeed/
- https://docs.codspeed.io/
- https://codspeed.io/
Summary by Sourcery
Add performance benchmarks using Codspeed. Integrate Codspeed into the CI workflow to automatically run performance tests and report results.
CI:
- Integrate Codspeed into the CI workflow to trigger performance tests on pull requests and pushes, and on demand via manual dispatch.
Tests:
- Add
pytest-codspeedto enable performance testing.