Skip to content

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.

  1. Paired rounds: every side runs once per round, in an order that rotates and reverses, so that drift and position affect every side alike.
  2. 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.
  3. Sign test: an exact test of whether one side is lower in more rounds than chance would give.
  4. Multiple comparisons: testing several cases at once needs a correction, or one of them comes out significant by luck.
  5. Verdicts: the rule that combines the gap, the bar and the p-value, every outcome and reason, and how to report one.
  • 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.
  • 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