feat: add CodSpeed continuous benchmarking integration#10
Open
coco-speed wants to merge 1 commit intomainfrom
Open
feat: add CodSpeed continuous benchmarking integration#10coco-speed wants to merge 1 commit intomainfrom
coco-speed wants to merge 1 commit intomainfrom
Conversation
- Replace criterion with codspeed-criterion-compat for accurate performance measurements - Add GitHub Actions workflow for automated benchmark execution - Enable CodSpeed reporting for performance regression detection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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 integrates CodSpeed continuous benchmarking platform to provide accurate, reproducible performance measurements for the constraint solver benchmarks.
Changes Made
criterionwithcodspeed-criterion-compatinkcl-ezpz/Cargo.tomlto enable CodSpeed integration while maintaining existing benchmark API.github/workflows/codspeed.ymlwith GitHub Actions workflow for automated benchmark executionExisting Benchmarks Preserved
All existing benchmarks will continue to work without modification:
solve_tiny- Basic constraint solvingsolve_two_rectangles- Rectangle constraint benchmarkssolve_angle_parallel- Angular constraint solvingsolve_perpendicular- Perpendicular constraint testssolve_massive- Large-scale parallel system benchmarkssolve_massive_overconstrained- Overconstrained system testsNext Steps
CODSPEED_TOKENsecret in repository settings for enhanced reporting featuresTechnical Details
CodSpeed uses specialized instrumentation to eliminate environmental noise and provide reliable performance measurements in CI environments, unlike traditional statistical approaches.
The integration maintains full compatibility with existing Criterion.rs benchmark code while providing enhanced measurement accuracy.