language-bench

Validation

GitHub-hosted runners differ in speed from session to session. The site corrects for that with a statistical model (see the methodology). This page checks the correction against the data itself: if it works, the same benchmark measured on different machines should agree much better afterwards.

Typical disagreement between sessions, raw
±11.8%
After machine and OS correction
±5.7%
Variance explained by the correction
75%

Computed over 216 benchmarks measured in two or more sessions (712 session results). Spread is the root-mean-square deviation of a session result from its benchmark's mean on a log scale, so ±5% means a typical session is about 5% off. The largest remaining deviation is 42.6% (python|3.15|cpython-default|hashmap); it is not removed.

Caveat: the machine factors are fitted from the same data, so this is an in-sample check. Few sessions per benchmark make the fit flatter the result. It becomes a stronger test as more sessions on different hardware arrive. The model's own recovery of known factors is unit-tested on synthetic data in stats.test.ts.

Distribution of deviations

-30-20-15-10-7-5-3-1.50+1.5+3+5+7+10+15+2030%1570rawcorrecteddeviation from the benchmark's mean (percent, lower edge of each bin)

Does machine load matter?

Before every benchmark the runner records the machine's 1-minute load average. Dividing by the core count gives the load per core (1.0 = every core busy on average). The scatter plot shows, for every measurement of a benchmark that ran in several sessions, how far its corrected result lies from that benchmark's mean, against the load at that moment. The correlation is -0.02 (practically none); using only measurements below 1 load per core the typical deviation is ±4.7% instead of ±4.7% for all 712.

-30%-15%0%+15%+30%0.000.501.001.502.00load per core when the benchmark started (readings above 2 drawn at the edge)
Load per coreMeasurementsTypical deviationMean bias
0 – 0.250--
0.25 – 0.5375±4.9%+0.1%
0.5 – 1314±4.5%-0.1%
1 – 1.523±4.7%-0.6%
≥ 1.50--

Caveat: a 1-minute load average also contains the benchmark that ran just before on the same VM, so it measures how busy the machine was, not necessarily outside interference. A positive bias in a bucket means results measured at that load were slower than the benchmark's mean.

Machines seen

CPU modelSessionsSpeed factor (geo. mean)RangeLoad / core
AMD EPYC 9V74 80-Core Processor40.932×0.880–1.079×0.52
AMD EPYC 7763 64-Core Processor41.073×1.058–1.090×0.55

Factor > 1 means the machine was slower than the average machine. A CPU model with a narrow range across sessions is evidence that a model explains speed, and not just noise.

Operating-system images

ImageSessions
ubuntu26 X648