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
Turn on the reld linker benchmarker: build reld + install driver shims in the nightly benchmark so the reld column is measured, not n/a #36
Turn on the reld linker benchmarker — make the published nightly benchmark actually measure reld and chart a real number, instead of n/a.
Why it's still n/a
BR-4a (#24) taught reld-bench to discover an ld.reld driver shim (next to its own binary, or via --reld) and measure reld like any other linker via clang -fuse-ld=<ld.reld>. But the nightly workflow never activates it:
.github/workflows/benchmark-stats.yml installs clang lld mold + wild, then runs python3 -m ci.benchmark_stats --run-benchmarks — it does not build the reld binary and does not run ci/install-driver-shims.sh.
ci/benchmark_stats.py::main runs cargo run --release --bin reld-bench, which builds reld-bench but not the reld bin, and no ld.reld shim exists next to it.
So reld-bench's shim discovery finds nothing → reld charts n/a with the honest <!-- linker reld not available: no ld.reld shim discovered ... --> comment. The capability is wired but never switched on.
Fix (workflow + minimal glue)
In benchmark-stats.yml, before the benchmark run:
Build the reld binary in release: cargo build --release -p reld (produces target/release/reld).
Run bash ci/install-driver-shims.sh release (copies reld → target/release/ld.reld / ld64.reld), so the shim sits next to the reld-bench binary that cargo run --release produces — reld-bench's auto-discovery (ld.reld next to current_exe()) then finds it.
Confirm the reld column renders a real Linux number (native wild engine). Linux is where reld is native; Windows/macOS stay n/a in this clang harness (they link via rustc -Clinker, not -fuse-ld) — that's the BR-4c/BR-4-follow-up axis, not this issue.
Optionally, have ci/benchmark_stats.py pass an explicit --reld <path-to-ld.reld> to reld-bench rather than relying on sibling auto-discovery, if that's more robust in the runner layout.
Verification
A dispatched or nightly run of benchmark-stats.yml produces latest.json where the reld result on the Linux target has a real seconds value (not null) with mode: "native" (per the BR-4b schema), and the rendered chart shows a reld bar.
The reld column in the README benchmark image is no longer n/a on Linux.
The publish step is already guarded to the default branch, so a workflow_dispatch on a feature branch can validate the run end-to-end (produces artifacts) without publishing.
Distinct from the 3-OS publish matrix and the Windows/macOS rustc-based reld measurement, which remain separate follow-ups.
Confirmed by the last run. A workflow_dispatch run today (31168634658, 10:05Z) and the 10:10Z schedule both succeeded, but the published benchmark-stats/latest.json shows reld unmeasured on every scenario:
So the BR-4b mode: native schema field is present, but seconds is null (charts as n/a) because no ld.reld shim exists next to reld-bench on the runner — the workflow doesn't build reld or run ci/install-driver-shims.sh. This is the exact symptom of the benchmarker not being switched on. Fix = the workflow glue described above (build reld release + install shims before the bench run).
Wiring verified correct — but reld still charts n/a, for a deeper reason. Holding.
Dispatch-verified the wiring (branch turn-on-benchmarker, run 31173335448, success): the ld.reld shim installs, reld-bench discovers it, and reld links the trivial probe program (no not available comment is emitted). So the workflow plumbing this issue asked for is correct.
But reld's time_link fails on every real workload → still n/a, while upstream wild links the same workloads fine (0.016–0.033s). So turning on the wiring is necessary but not sufficient — the actual blocker is a reld-specific link failure on the multi-object workloads, filed as #37.
Holding the wiring branch rather than merging it standalone: merging it now would add a reld release-build + shim-install to every nightly run while reld still charts n/a (no visible benefit + CI cost). Better to land the wiring together with the #37 fix so reld comes on in one step. This issue stays open, blocked on #37.
Activity
zackees commentedon Aug 7, 2026
Confirmed by the last run. A
workflow_dispatchrun today (31168634658, 10:05Z) and the 10:10Z schedule both succeeded, but the publishedbenchmark-stats/latest.jsonshows reld unmeasured on every scenario:{"scenario": "small (16 units)", "series": "reld", "seconds": null, "mode": "native"} {"scenario": "medium (128 units)", "series": "reld", "seconds": null, "mode": "native"} {"scenario": "large (512 units)", "series": "reld", "seconds": null, "mode": "native"}So the BR-4b
mode: nativeschema field is present, butsecondsisnull(charts asn/a) because nold.reldshim exists next toreld-benchon the runner — the workflow doesn't buildreldor runci/install-driver-shims.sh. This is the exact symptom of the benchmarker not being switched on. Fix = the workflow glue described above (buildreldrelease + install shims before the bench run).zackees commentedon Aug 7, 2026
Wiring verified correct — but reld still charts
n/a, for a deeper reason. Holding.Dispatch-verified the wiring (branch
turn-on-benchmarker, run31173335448, success): theld.reldshim installs,reld-benchdiscovers it, and reld links the trivial probe program (nonot availablecomment is emitted). So the workflow plumbing this issue asked for is correct.But reld's
time_linkfails on every real workload → stilln/a, while upstreamwildlinks the same workloads fine (0.016–0.033s). So turning on the wiring is necessary but not sufficient — the actual blocker is a reld-specific link failure on the multi-object workloads, filed as #37.Holding the wiring branch rather than merging it standalone: merging it now would add a reld release-build + shim-install to every nightly run while reld still charts
n/a(no visible benefit + CI cost). Better to land the wiring together with the #37 fix so reld comes on in one step. This issue stays open, blocked on #37.fix(bench): flatten linker path in output filename so reld can link