You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BR-4c: run reld-bench on the Windows and macOS CI legs (cross-platform bench smoke + artifact) #27
Sub-task of #17 (a step toward the 3-OS graph, phase BR-4). Follows BR-4a (#24) and BR-4b (#26).
Goal
Prove reld-bench runs on the Windows and macOS CI runners and capture their per-OS competitor numbers as an artifact — the prerequisite before the published benchmark can trust those runners (the future 3-OS publish matrix). Unlike the nightly benchmark-stats.yml, this runs on every PR via the existing phase1-native legs, so the cross-platform bench path is continuously verified.
Why now
BR-4a made reld measurable in the bench; BR-4b made the JSON schema multi-platform-ready (target per history line, per-series mode). The remaining blocker to a 3-platform graph is confidence that reld-bench + per-OS competitor probing actually work on the Windows/macOS runners. This issue establishes that cheaply, without touching the sensitive publish/aggregation pipeline.
Scope
.github/workflows/ci.yml only — add ONE step per relevant leg (mirroring the BR-2 e2e step pattern):
windows-msvc and macos-arm64 legs: after the toolchains are set up, run reld-bench with the installed clang (--cc), a small/fast config (e.g. --trials 2 --warmup 1, default workloads), writing the markdown table to a file.
Assert the output contains the ## Link Benchmark: heading and the reld column header (fail the step otherwise). reld itself will chart n/a on these legs (clang can't drive reld off-Linux; that's honest and expected — the rustc-based reld measurement is a separate future issue).
Upload the table as a CI artifact (benchmark-<os>.md).
Do NOT run on Linux here (the nightly benchmark already covers Linux) and do NOT publish anything.
Out of scope
The 3-OS publish matrix + aggregation in benchmark-stats.yml, multi-target rendering, and the Windows/macOS rustc-based reld measurement (so reld shows a real number off-Linux). Those are tracked separately.
Done when
The windows-msvc and macos-arm64 CI legs run reld-bench, assert a well-formed table, and upload it as an artifact; other legs/steps unchanged; PR merged, issue closed, branch rebased on origin/main.
Activity