How does pairbench decide?
In steps: paired rounds in a rotating order, a noise floor measured from twins in the same run, an exact sign test for each case, a correction for testing several cases, and a rule that turns them into a verdict. Each page below explains one step: what pairbench does, why, and what a reader of a result can rely on.
How a verdict is reached
Section titled “How a verdict is reached”- Paired rounds: every side runs once per round, in an order that rotates and reverses, so that drift and position affect every side alike.
- Noise floor: each side runs beside an identical twin; the gap between them is the noise of this machine, at this load, in this run.
- Sign test: an exact test of whether one side is lower in more rounds than chance would give.
- Multiple comparisons: testing several cases at once needs a correction, or one of them comes out significant by luck.
- Verdicts: the rule that combines the gap, the bar and the p-value, every outcome and reason, and how to report one.
Checks on the instrument and the machine
Section titled “Checks on the instrument and the machine”- Shared machines: quiet at the start is not quiet throughout; pinning, locks, witnesses and disturbed rounds.
- Instrument controls: every analysis tool needs a case that must pass and a case that must fail.
- Positive control: twice the work must read as twice the value.
- Launch cost: what a launch costs before the workload runs.
- Simulated error rates: how often the default rule gives each outcome when the true difference is known.
Serving and energy
Section titled “Serving and energy”- First-token definitions: what each load tool puts inside its time-to-first-token stopwatch.
- Energy per token: what is measured, what is left out, and when no value is given.
Beyond the verdict
Section titled “Beyond the verdict”- Diagnostics: resource figures, counters, sampled stacks and flame graphs.
- Pitfalls: common ways a benchmark fools its author.
- Reporting checklist: what a published comparison should state.
pairbench is made by Eugo