Repository navigation
Closed
Description
Summary
Make the benchmark charts render vertically stacked (one large chart per OS, full width) everywhere they are presented — not small side-by-side thumbnails.
Context
The README <!-- BENCHMARK:BEGIN --> … <!-- BENCHMARK:END --> block was just changed (PR #51) from a 3-column <table> of small thumbnails to three full-width, vertically stacked <img> blocks, so each per-OS chart is large and legible. That change is currently hand-edited static markup.
The generated benchmark surfaces don't follow the same layout:
- The
BENCHMARKblock'sBEGIN/ENDmarkers imply it should be workflow-generated, but nothing writes into them today, so the vertical layout will drift if the block is ever regenerated. - The per-target
index.htmlpages (ci/benchmark_stats.py) render one target each; there is no combined view, and no shared "stack the OSes vertically" rule.
Proposal
- Make vertical stacking the generated default: when the
benchmark-stats.ymlaggregatejob writes the READMEBENCHMARKblock (see the related verbose-stats issue), emit the three OS charts stacked vertically at full width, so the layout is produced by the pipeline rather than maintained by hand. - Apply the same vertical-stack layout to any combined/aggregate benchmark page (e.g. an index that shows all three OSes) so charts are large and stacked, consistent with the README.
- Keep per-OS labels (
x86_64-linux,x86_64-pc-windows-msvc,aarch64-apple-darwin) above each chart and preserve the links to each target'sbenchmark-statsdirectory.
Acceptance criteria
- The benchmark charts are presented vertically stacked, full width, one per OS, in the README benchmark block.
- The layout is produced by the benchmark pipeline (the
BEGIN/ENDblock is workflow-written), not hand-maintained, so regeneration preserves vertical stacking. - Any combined/aggregate benchmark page uses the same vertical-stack layout.
- A
ci/testscheck asserts the generated block/page stacks the three OS charts vertically (e.g. three full-width image blocks, no multi-column table).
Decisions
- Priority: P3. Presentation; the README already shows the intended vertical layout, so this is about making it the generated, drift-proof default and extending it to the generated pages.
- Consistent with the verbose-stats / generated-
BENCHMARK-block work (ci(bench): print per-OS performance stats in the job + verbose benchmark-stats branch publish #53) — these should land together so the block is generated with both stacked charts and per-OS numbers.
Metadata
Metadata
Assignees
Labels
No labels
Activity