libvcs icon indicating copy to clipboard operation
libvcs copied to clipboard

Codspeed - performance benchmarks

Open tony opened this issue 1 year ago • 3 comments
trafficstars

[!NOTE]

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-codspeed to enable performance testing.

tony avatar Sep 22 '24 10:09 tony