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.