Skip to content
Tactiverge

Research methods · also Computer engineeringLevel 4 · Systems Engineer

Benchmarking methodology

A benchmark is an experiment comparing a new design against a baseline, and it can be fair or rigged. Good practice fixes the metric, workload, baseline, environment, number of repeats and decision rule before running. Warm-up runs that pay one-off costs such as cold caches are discarded when steady state is the question. Runs of the two versions are interleaved or randomised so that slow drift, such as a machine heating up, affects both equally, and both run the same input with the same build settings. Results are reported as a centre with an interval, for example a speed-up with its propagated uncertainty, and ablations show which change caused any gain.

Why it mattersA claimed doubling in a controller's speed is worthless if the new version ran on a smaller input or only after the machine had warmed up.

Learn it

  1. 1Designing a benchmark you can trustTactiverge School · Level 4
  2. 2A speed-up is a ratio: give it an intervalTactiverge School · Level 4
  3. 3Which part made it better? Baselines and ablationsTactiverge School · Level 4
  4. 4Reviewing and revising: answer the criticTactiverge School · Level 4

Try it