Repository navigation
Description
Context
PR #104 and issue #103 established trustworthy Linux ELF competitive evidence, including a permanent README graph, raw samples, exact artifact gates, and peak process-tree RSS. The current PNG renders wall link time and peak RSS in two separate side-by-side panels. That preserves independent units, but it makes the reader scan between charts to pair a linker's time with its memory use.
The renderer already owns everything needed for a combined view:
- one fixed contender order (
bfd,lld,mold,wild, reld baseline, reld candidate); - median and bootstrap 95% CI summaries for both
wall_secondsandpeak_rss_kib; - one report model shared by JSON, HTML, PNG, and the Actions summary;
- a permanent v1 evidence release and README surface;
- strict no-scalarization and artifact-comparison disclaimers.
This is a rendering/presentation change only. It must not change measurement collection, sample order, report values, performance claims, artifact-equivalence policy, or add a Rust dependency.
Proposal
Replace the two-panel PNG with one grouped dual-axis chart.
For every contender, draw exactly two adjacent bars in the fixed x-axis order:
- wall link time first, read against a clearly labelled left y-axis in seconds;
- peak process-tree RSS second, read against a clearly labelled right y-axis in MiB.
Both axes must be independent, linear, and start at zero. Use the contender's existing hue for both bars, then distinguish the metrics without relying on color alone: wall time is solid and RSS uses a stable diagonal hatch/stripe treatment. Add an explicit legend that names the bar order, texture, unit, and owning axis.
Keep exact median labels and bootstrap 95% CI whiskers/annotations on every bar. The single-panel width should allocate one non-overlapping annotation column per metric within each contender group. Similar-height bars must not print annotations on top of one another; use deterministic row/offset placement and preserve readable linker labels.
Update the accessible HTML figure description and alt text to state that the graph is a grouped dual-axis chart with wall time first and RSS second. Keep the full table as the nonvisual source of exact values. Add PNG metadata that makes the visual contract machine-checkable, including:
layout=grouped-dual-axis-v1;bar_order=wall_seconds,peak_rss_kib;left_axis=wall_seconds;right_axis=peak_rss_kib;- the existing fixed contender order, metrics, and rendered values.
After a successful hosted replay, publish a permanent linux-linker-competition-v2 evidence release containing the combined PNG, HTML, report, raw samples, provenance, locks, summary, and completion manifest. Update the README to embed/link v2 and describe the grouped bar order. Preserve the existing honest conclusion: the evidence supports two-metric wins over bfd/LLD/mold, but not a two-metric superiority claim over Wild or the exact pre-change reld baseline.
Acceptance criteria
- RED: a focused renderer test requiring
layout=grouped-dual-axis-v1, the fixed per-linker bar order, and explicit left/right metric axes fails against the current two-panel renderer; GREEN passes after the grouped chart is implemented. - RED: a renderer that emits two plotting panels, omits either bar, reverses the per-linker bar order, shares one numeric scale, or starts either axis above zero fails; GREEN emits one plotting area with independent zero-based seconds/MiB axes.
- RED: a color-only metric distinction fails the visual contract; GREEN uses solid wall bars, striped/hatched RSS bars, and a text legend that identifies both metrics, units, and axes.
- RED: missing or mismatched median, bootstrap 95% CI, unit, contender label, or fixed contender order fails parity tests; GREEN proves PNG metadata, HTML, Markdown summary, and report JSON expose the same values.
- RED: a realistic six-contender fixture with close wall or RSS values produces overlapping annotation boxes; GREEN uses deterministic non-overlapping label placement within the chart bounds.
- The accessible HTML alt text/figure description names a grouped dual-axis graph, wall time first, peak process-tree RSS second, and the separate axes; the exact-value table remains present.
- No combined, normalized, weighted, or scalar score is introduced. Textual performance claims still require both independent confidence rules to pass.
- The report schema, raw sample JSONL, measurement runner, correctness gates, contender order, and artifact comparison policy remain unchanged.
- Focused renderer/workflow tests demonstrate RED -> GREEN, then the complete
ci/testssuite, Ruff, compileall, dependency-budget check, diff check, and README generated-block check pass. - A hosted Linux competition run passes the existing cgroup-v2 calibration, identity/self-determinism/native-oracle gates, 12 measured Williams rounds, combined rendering, manifest sealing, and artifact upload.
- The final hosted combined PNG is downloaded and visually inspected for bar order, axis labels, legend/texture distinction, exact annotations, clipping, and overlap before publication.
- Publish the permanent v2 evidence bundle, update the README graph/link/method wording to v2, and merge the resolving PR.
- Update
agents/platforms/linux.mdwith the grouped dual-axis validation contract; no other platform guide changes are needed because collection and non-Linux charts do not change.
Decisions
- Use grouped dual axes, not normalization. The user requested time bar 1 and RSS bar 2 for each linker; independent labelled axes preserve the real seconds and MiB values without inventing a composite unit.
- Keep contender hue and add texture. Color preserves continuity with v1, while solid versus hatched bars keeps the metric distinction visible in grayscale and for color-vision deficiencies.
- Keep one report schema. This is a view change, so measurement JSON and statistical claims remain byte-for-byte derived from the existing report model.
- Publish v2 instead of replacing v1. A new immutable evidence release preserves the audit trail and lets README readers distinguish the combined layout from the earlier two-panel artifact.
- Keep scope Linux-only. The requested graph is the native Linux competition surface; Windows/macOS trend charts and bridge claims are unaffected.
Related issues
- ci(perf): publish paired link-time and peak-RSS comparisons for Linux ELF linkers #103 established the Linux time/RSS evidence and explicitly chose the current paired-panel visualization; this issue changes only how those same two metrics are co-located.
Activity
zackees commentedon Sep 1, 2026
Implemented in PR #106. Hosted correctness-gated run: https://github.com/zackees/reld/actions/runs/33496554602. Immutable v2 evidence and grouped graph: https://github.com/zackees/reld/releases/tag/linux-linker-competition-v2. Verified one graph with an adjacent solid wall-time bar first and hatched max-RSS bar second for every linker, independent zero-based axes, readable exact median/CI annotations, 72 raw samples, PNG metadata, and sealed manifest hashes. Local validation: 258 CI tests, Ruff, compileall, dependency/README/diff checks, and clud-review clean.