Skip to content

BR-4c: run reld-bench on the Windows and macOS CI legs (cross-platform bench smoke + artifact) #27

Closed

Description

@zackees

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

  1. added
    enhancement
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions