Expand description
Compare one commit’s measurements against another’s.
This is the part that can block a pull request, so it is deliberately narrow about what it will fail on. Only instruction counts gate. Wall clock is reported beside them and never gated: on identical hardware it moves 4-20% run to run, so a threshold tight enough to catch a real regression fires constantly, and one loose enough to stay quiet catches nothing.
Rendering lives in markdown, separate from the comparison itself, so a
chart or a different report format is a new function rather than a rewrite.
Structs§
- Change
- One metric, on one series, on both sides.
- Comparison
Constants§
- GATED_
METRIC - The only metric a gate may fire on.
Functions§
- build_
trend - Assemble a trend from trunk history plus the revision under comparison.
- compare
- Compare two sets of records.
- markdown
- sparkline
- A sparkline, scaled to the series’ own range.