ci: Add PR benchmark comparison workflow - #38
Merged
Conversation
📊 Benchmark Comparison Results
➖ 22 benchmarks within noise (click to expand)
Legend: ✅ Faster (>5%) · |
- Shorten benchmark names for readability (hd_ prefix, etc.) - Use coefficient of variation to detect noise vs real regressions - Raise regression threshold to 30% AND must exceed 2x noise level - Remove truncation that was hiding important test parameters
- Hide 'within noise' benchmarks in collapsible details section - Show regressions first, then improvements - Cleaner summary when all benchmarks are within noise
For benchmarks < 1µs, ignore percentage changes since the absolute difference is too small to matter. This prevents false positives from noise on very fast operations.
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 adds a new GitHub Actions workflow that automatically compares benchmark performance between PR branches and the base branch.
Features
Technical Details
--benchmark-disable-gcfor consistent results