Repository navigation
test(ci): run reld-bench on the Windows and macOS CI legs (BR-4c) - #28
Merged
Merged
Conversation
Prove the benchmark harness works cross-platform ahead of the 3-OS publish matrix. The windows-msvc and macos-arm64 phase1 legs now run reld-bench with the installed clang (-fuse-ld=lld), assert a well-formed table (heading + reld column), and upload it as a per-OS artifact. reld itself charts n/a on these legs — clang can't drive reld off-Linux (rustc -Clinker path); that's honest and expected. Runs on every PR, unlike the nightly benchmark, so the cross-platform bench path stays verified. Other legs and the publish pipeline are untouched. Closes #27 Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Aug 7, 2026
Closed
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.
Implements a step toward the 3-OS graph (phase BR-4, #17). Closes #27. Follows BR-4a (#24) and BR-4b (#26).
What
Proves the benchmark harness runs on the Windows and macOS CI runners — the prerequisite before the published benchmark can trust those runners (the future 3-OS publish matrix). Adds one
reld-benchstep + one artifact-upload step to each of thewindows-msvcandmacos-arm64legs ofphase1-native:reld-bench --release --cc clang --linker lld --trials 2 --warmup 1after that leg's native-tests step (so the binary is already built).## Link Benchmark:heading + a| reld |column), failing the step otherwise.benchmark-windows-msvc/benchmark-macos-arm64).reld itself charts
n/aon these legs — clang can't drive reld off-Linux (reld integrates via rustc-Clinkerthere); that's honest and expected. Unlike the nightlybenchmark-stats.yml, this runs on every PR, so the cross-platform bench path stays continuously verified.Out of scope
The 3-OS publish/aggregation matrix in
benchmark-stats.yml, multi-target rendering, and the Windows/macOS rustc-based reld measurement (so reld shows a real number off-Linux). Those remain separate follow-ups.Testing
.github/workflows/ci.ymlonly (36 insertions, 0 deletions — pure addition). YAML validated.reld-benchcommand renders correctly:lldmeasured,reld= honestn/a, table shape intact — both assertions pass on it.ci/e2e/sqlite-bridgeregression e2e still links via reld and runs (OK, exit 0) — this change doesn't touch reld.Review
Independent review verified (empirically) that a failed
reld-benchrun cannot be reported as a pass on either leg ($LASTEXITCODEsurvives| Tee-Objecton Windows;set -o pipefailon macOS), that no other leg or the summary scripts are affected, and that the per-step linker env var from the BR-2 e2e step does not leak into this step. Its one MEDIUM nit — the macOSgrepwas looser than the Windows check — is fixed here (grep -qE '\| *reld *\|', symmetric with Windows).🤖 Generated with Claude Code