Skip to content

ci(bench): stop compiling reld on the Windows and macOS benchmark runners (reld#59 leg 2) #168

Closed

Description

@zackees

Sub-issue of #59.

What

benchmark-stats.yml builds the reld front door on the native runner before benchmarking:

  • Build Windows COFF reld front door → ci.windows_ci build-benchmark-driver
  • Build macOS Mach-O reld front door → cargo build --release -p reld

Those are the scarce, queue-prone runners, and the compile does not need to happen on the target OS. reld-bench needs only the binary and a frozen corpus, which makes this the cleanest candidate of #59's three legs.

Scope

  • Add a cross-build job to benchmark-stats.yml that builds the release product for x86_64-pc-windows-msvc and aarch64-apple-darwin on ubuntu-24.04 through the blessed soldr front door, and uploads each as an artifact — the shape cross-ship.yml already proves.
  • The Windows and macOS benchmark legs download that artifact instead of compiling. The Linux leg keeps building natively (it is cheap, and it is the native-engine measurement).
  • Keep the driver shim layout (reld-link.exe, ld64.reld) exactly as the benchmark runner expects, so ci/benchmark_runner.py needs no change.
  • Pin the new shape in ci/tests/test_benchmark_workflow.py.

Care

A benchmark measures what it links with. The published latest.json records mode and engine per series; make sure a cross-built binary is still labelled honestly and that the coverage gate (#63) still fails on a missing or unexpected linker.

Acceptance

  • No cargo build of the product on the windows or macos benchmark legs.
  • A scheduled or dispatched full run publishes all three targets as before.
  • ci/tests pins the new contract.

Activity

  1. zackees commented on Sep 18, 2026

    @zackees
    CollaboratorAuthor

    Done in #172, with the empty-matrix follow-up in #173. Its integrating agent wrote "Part of #168" rather than a closing keyword, so the merge did not close this.

    Validated on a live platforms=all run on main (35293901609), all green through publish and the freshness check. The Windows and macOS legs compiled nothing: each logs Using cross-built … driver and contains no Compiling reld. The Linux leg still builds natively, as intended.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions