Paired, alternating rounds
Every side runs once per round, in an order that rotates and reverses, so no side keeps running before another. See paired rounds.
pairbench is an open-source (Apache-2.0) Python command-line tool that says whether a measured difference between two sides of a benchmark is real or noise. It answers that for one workload on one machine: it runs each side in paired, alternating rounds beside an identical twin, measures the noise from the twins, and gives every case a verdict.
A difference is called real only when it is wider than the measured noise and an exact sign test, corrected for testing several cases, says it is not luck.
pairbench run --side new=image:myorg/app:2.0 --side old=image:myorg/app:1.9 -- python bench.pyExample output (made-up numbers):
new against old (baseline)
case new old change noise p verdictmatmul 1.92 s 2.41 s 1.26x faster ±1.8% 0.0010* FASTERfft 0.88 s 0.89 s 1.01x faster ±2.1% 1.0* TIE
Exact two-sided sign test over 16 paired rounds.* corrected for testing 2 cases at once.Rule: strict.Machine state: quiet.Baseline: old.Positive control old~twice: ok.It does not replace benchmark tools. It launches them, one launch per side per round, and reads what they produce.
Paired, alternating rounds
Every side runs once per round, in an order that rotates and reverses, so no side keeps running before another. See paired rounds.
A measured noise floor
Every side has a twin, an identical copy in the same rounds; the gap between them is the noise a verdict has to beat. See noise floor.
An exact test, corrected
An exact sign test per case, corrected for testing several cases at once. See sign test.
Built for agents
A skill, a tool server, JSON Schemas and exit codes that say what happened. See for AI agents.
pairbench is made by Eugo