Skip to main content

Module report

Module report 

Source
Expand description

A benchmark’s history: each series’ measurements over first-parent commits.

tak compare answers whether one change moved anything; this answers how a number got to where it is. The two are read together — a value that has drifted for weeks and a value one commit just moved look identical in a two-column comparison, and nothing alike here.

Everything in this module is pure, over commits already read by crate::notes::log, so both renderings are tested without a repository. It deliberately detects nothing: it draws what was recorded and leaves the judgement of what counts as a step to the reader and to the gate.

Structs§

Enough
Decides when a newest-first walk has read far enough for build to produce the report the whole walk would.
History
What a walk found, reduced to series.
Point
One series’ values on one recorded commit.
Series
One benchmark, on one tool, on one runner class, oldest point first.

Functions§

build
Reduce a first-parent walk, newest first, to at most limit recorded commits and the series across them.
html
Render the history as one self-contained HTML page: a chart per series, instruction counts above and wall time beneath it.
markdown
Render the history as markdown: one table per series.