Skip to content

Setup CodSpeed for continuous performance monitoring#40

Merged
sylvestre merged 1 commit intomainfrom
codspeed-wizard-1771446816359
Feb 18, 2026
Merged

Setup CodSpeed for continuous performance monitoring#40
sylvestre merged 1 commit intomainfrom
codspeed-wizard-1771446816359

Conversation

@codspeed-hq
Copy link
Copy Markdown
Contributor

@codspeed-hq codspeed-hq bot commented Feb 18, 2026

Summary

  • Replaced criterion = "0.3" with codspeed-criterion-compat = "4.3.0" using Cargo dependency renaming. This means the benchmark code (bench/benches/bench.rs) requires zero changes -- it continues using use criterion::*; as before.
  • Added a new GitHub Actions workflow (.github/workflows/codspeed.yml) that builds and runs the benchmarks with CodSpeed on every push to main, on pull requests, and on manual dispatch. Uses OIDC authentication.
  • Added CodSpeed badge to the README.

Changes

  • bench/Cargo.toml: Updated criterion dependency to use codspeed-criterion-compat v4.3.0 via package renaming
  • Cargo.lock: Updated lockfile to reflect new dependency tree
  • .github/workflows/codspeed.yml: New workflow for CodSpeed benchmarks (simulation mode, OIDC auth, ubuntu-latest runner)
  • README.md: Added CodSpeed badge

Next steps

  • Merge this PR to start collecting baseline performance data on the main branch
  • CodSpeed will automatically report performance changes on future PRs
  • Visit CodSpeed dashboard to view benchmark results after the first run

- Replace criterion 0.3 with codspeed-criterion-compat 4.3.0 using
  dependency renaming (no benchmark code changes needed)
- Add CodSpeed GitHub Actions workflow with OIDC authentication
- Add CodSpeed badge to README
@codspeed-hq
Copy link
Copy Markdown
Contributor Author

codspeed-hq bot commented Feb 18, 2026

Congrats! CodSpeed is installed 🎉

🆕 29 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks


ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Open in CodSpeed

@codspeed-hq codspeed-hq bot marked this pull request as ready for review February 18, 2026 20:50
@sylvestre sylvestre merged commit fa57a61 into main Feb 18, 2026
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant