Repository navigation
Conversation
Reserve exit status 1 for regressions so CI can waive a benchmark failure without hiding invalid results or an incomplete comparison.
Build both revisions on one machine so CPU differences cannot swamp the regression thresholds. Keep the measurements and distinguish performance regressions from failed or incomplete runs.
Publish same-runner benchmark comparisons without granting write permissions to the job that builds and runs pull request code.
Keep the CPU generation consistent across benchmark runs while leaving fork pull requests on GitHub-hosted runners.
CoverageTotal coverage: 92% |
Select the exact on-demand fleet labels so the benchmark jobs can start and cover both x86 SIMD and ARM NEON. Keep base and head on the same machine within each architecture.
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.
Run all 10 standalone benchmark suites against the PR’s merge base. Both revisions are built in release mode and benchmarked back to back on the same runner so differences between runner CPUs don’t skew the comparison.
The workflow skips unrelated changes, publishes per-suite comparison tables in the Actions summary, and uploads raw JSON and logs even when a regression fails the check.
Disable-check: benchcan waive a regression, but not a failed build or invalid benchmark result.Disable-check: commit-count