Set up CodSpeed for continuous performance testing#1
Draft
codspeed-francois-dev[bot] wants to merge 1 commit intomasterfrom
Draft
Set up CodSpeed for continuous performance testing#1codspeed-francois-dev[bot] wants to merge 1 commit intomasterfrom
codspeed-francois-dev[bot] wants to merge 1 commit intomasterfrom
Conversation
- Updated codspeed-divan-compat from 4.2.1 to 4.3.0 - Updated cargo-codspeed from 4.2.1 to 4.3.0 - Updated GitHub Actions workflow to use latest versions - Removed custom upload URL (using standard OIDC auth) - Fixed checkout action version to v4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR sets up CodSpeed for continuous performance testing of the anyhow error handling library. The repository already had benchmark infrastructure in place with divan, but this update modernizes the setup to use the latest CodSpeed versions and best practices.
Changes Made
codspeed-divan-compatdependency from 4.2.1 to 4.3.0cargo-codspeedtool version from 4.2.1 to 4.3.0 in GitHub Actions workflowBenchmark Coverage
The setup includes comprehensive benchmarks for:
Test Plan
cargo codspeed build -m simulationcargo codspeed run(all 22 benchmarks passed)codspeed run --mode simulation --skip-upload -- cargo codspeed runNext Steps
After merging this PR:
The workflow uses OIDC authentication for secure, token-less communication with CodSpeed.