language-bench

Sessions ›

Session 2026-10-27 17:20 UTC

2026-10-27T17-20-33-284Z-s2: one fresh virtual machine (AMD EPYC 9V74 80-Core Processor, 4 cores) that measured 55 benchmarks in 18 min 24 s.

How fast was this machine?

0.88× faster than average
GitHub gives every session a different computer, and some are faster than others. Programs that ran here took only 0.88× of the time as they would on the average machine of all 8 sessions. To compare languages fairly we divide every time measured here by this number (the “Median ÷ factor” column below). The number is worked out by comparing benchmarks that ran on several machines: if the same program is consistently 20% slower here than elsewhere, this machine is 1.2× slower.

How the machine factor was calculated

  1. Find benchmarks that ran on more than one machine. 55 of the 55 benchmarks in this session were also measured in at least one other session. Benchmarks that only ran here say nothing about this machine's speed, so they are ignored.
  2. Compare with the average machine. For each of those, the table below divides the median time measured here by the benchmark's time on the average machine (the geometric mean over all its sessions, each corrected by its own machine factor). A ratio of 1.20× means this program took 20% longer here than it normally does.
  3. Average the ratios. The machine factor is the geometric mean of those ratios: 0.88×, which equals this session's factor of 0.88×. Because the factors of all sessions depend on each other (a session's factor changes what the “average machine” time of each benchmark is), they are computed together by repeating steps 2 and 3 for all sessions until nothing changes, then shifting them so the average machine is exactly 1.0×.
BenchmarkTime hereAverage machineRatioSessions
String operations · C 14 · gcc-O218.5 ms20.7 ms0.89×4
Prime sieve · Go 1.27 · go-default17.4 ms20.4 ms0.85×4
Sorting · C 15 · gcc-O3239 ms260 ms0.92×4
File processing · C 14 · gcc-O3-native128 ms145 ms0.89×4
String operations · C 15 · gcc-O3-native14.6 ms16.5 ms0.88×4
Prime sieve · C 14 · gcc-O319.5 ms21.9 ms0.89×4
Binary Trees · C 14 · gcc-O3-native55.1 ms61.2 ms0.90×4
Prime sieve · C 14 · gcc-O219.4 ms21.8 ms0.89×4
Matrix multiply · Go 1.24 · go-default10.0 ms11.0 ms0.91×4
Hash map · C 15 · gcc-O3-native31.7 ms31.5 ms1.00×4
Fannkuch-redux · Python 3.14 · cpython-default443 ms554 ms0.80×4
String operations · C 16 · gcc-O3-native14.6 ms16.6 ms0.88×4
Parallel reduction · C 16 · gcc-O3-native94.9 ms105 ms0.91×4
File processing · Go 1.26 · go-amd64-v3158 ms182 ms0.87×4
Sorting · C 14 · gcc-O3-native241 ms259 ms0.93×4
Matrix multiply · Go 1.27 · go-default5.5 ms6.6 ms0.83×3
Matrix multiply · Python 3.14 · cpython-default836 ms1.02 s0.82×4
File processing · C 15 · gcc-O3129 ms146 ms0.88×4
Prime sieve · Python 3.13 · cpython-default392 ms513 ms0.76×4
Binary Trees · Go 1.26 · go-default66.7 ms78.2 ms0.85×3
JSON parsing · Go 1.27 · go-amd64-v3471 ms574 ms0.82×4
Matrix multiply · C 14 · gcc-O3-native1.6 ms2.1 ms0.75×4
Binary Trees · Python 3.15 · cpython-default244 ms288 ms0.85×4
File processing · Python 3.15 · cpython-default732 ms913 ms0.80×4
File processing · C 15 · gcc-O2129 ms146 ms0.88×4
Sorting · C 14 · gcc-O3239 ms258 ms0.93×4
Parallel reduction · Python 3.14 · cpython-default2.39 s2.79 s0.86×3
Startup · C 16 · gcc-O3-native531 µs604 µs0.88×4
Matrix multiply · Go 1.26 · go-amd64-v35.6 ms6.3 ms0.89×3
Fannkuch-redux · C 14 · gcc-O218.4 ms19.6 ms0.94×4
Prime sieve · C 14 · gcc-O3-native19.5 ms21.6 ms0.90×4
Parallel reduction · C 14 · gcc-O3-native96.2 ms106 ms0.90×4
Matrix multiply · C 16 · gcc-O32.7 ms3.3 ms0.81×4
File processing · C 14 · gcc-O3130 ms147 ms0.88×4
N-Body simulation · C 14 · gcc-O257.1 ms64.3 ms0.89×4
Binary Trees · Go 1.24 · go-default69.9 ms86.3 ms0.81×4
Binary Trees · Python 3.13 · cpython-default281 ms314 ms0.89×4
Hash map · C 14 · gcc-O333.2 ms33.6 ms0.99×4
N-Body simulation · Go 1.27 · go-default72.1 ms80.5 ms0.90×4
Parallel reduction · C 16 · gcc-O396.2 ms106 ms0.91×4
Fannkuch-redux · Go 1.24 · go-default18.0 ms19.8 ms0.91×4
Hash map · C 14 · gcc-O3-native30.2 ms32.6 ms0.92×4
Startup · Python 3.14 · cpython-default23.0 ms25.6 ms0.90×3
N-Body simulation · C 14 · gcc-O3-native57.1 ms63.4 ms0.90×4
Sorting · Go 1.24 · go-default150 ms163 ms0.92×4
N-Body simulation · C 15 · gcc-O357.0 ms64.2 ms0.89×4
Sorting · C 16 · gcc-O3239 ms261 ms0.92×4
Startup · Go 1.27 · go-default1.2 ms1.3 ms0.88×4
JSON parsing · C 15 · gcc-O220.7 ms23.9 ms0.87×4
String operations · Python 3.15 · cpython-default65.3 ms72.6 ms0.90×4
Hash map · C 15 · gcc-O330.6 ms33.6 ms0.91×4
Binary Trees · C 15 · gcc-O253.4 ms60.9 ms0.88×4
Matrix multiply · C 15 · gcc-O3-native1.5 ms1.9 ms0.81×4
Sorting · Go 1.26 · go-default149 ms163 ms0.92×4
Fannkuch-redux · C 16 · gcc-O317.9 ms19.0 ms0.94×4
Geometric mean0.88×

Machine

CPU
AMD EPYC 9V74 80-Core Processor (AuthenticAMD), 4 cores, 3695 MHz at start
Memory
15.6 GiB total
Kernel
7.0.0-1017-azure (x86_64)
CPU governor
OS environment
ubuntu26 X64: sessions on the same OS image share one workload-specific correction (see the methodology)
Runner
github-hosted Linux X64, image ubuntu26 20261023.163.3
Load at start
2.40 1.01 0.38 1/455 143

Run

Started
2026-10-27T17:20:59.089Z
Finished
2026-10-27T17:39:23.382Z (18 min 24 s)
Triggered by
workflow_dispatch (bench), by github-actions[bot], session 2 of 2 in its round
CI run
StijnRis/language-bench/actions/runs/40549562315
Code version
aaab91b243
Raw data
data/sessions/2026-10-27T17-20-33-284Z-s2.json
Timing
in-process kernel loops of the language harnesses; hyperfine 2.0.0 for the end-to-end runs
Why these benchmarks
30 had the fewest sessions so far, 25 re-run on purpose to compare machines

Docker images

ImageToolchainOSDigest
gcc:14gcc (GCC) 14.4.0Debian GNU/Linux 13 (trixie)gcc@sha256:435c3cbc2ad1c25fbc1684c367808ff0ca2035a1bed56734a40165ab5cd7e3bd
golang:1.27go version go1.27.3 linux/amd64Debian GNU/Linux 13 (trixie)golang@sha256:9048d5e7751706200eb1719c7dae0436950d362f29a1da91fa05e5c63867c60f
gcc:15gcc (GCC) 15.3.0Debian GNU/Linux 13 (trixie)gcc@sha256:dc99c5016a0fb74d4e9a392e7892966ec7f358af744799bd3479239598f79d45
golang:1.24go version go1.24.13 linux/amd64Debian GNU/Linux 13 (trixie)golang@sha256:d2d2bc1c84f7e60d7d2438a3836ae7d0c847f4888464e7ec9ba3a1339a1ee804
python:3.14Python 3.14.10Debian GNU/Linux 13 (trixie)python@sha256:a2f0ffaafb5db81c0583026054d9290ef210a6bd614acad35ea483fea0cbcab2
gcc:16gcc (GCC) 16.2.0Debian GNU/Linux 13 (trixie)gcc@sha256:07280eb2e744f1b7a2d8d4a3894c089ea07266c109758afc388a634bd098e4eb
golang:1.26go version go1.26.10 linux/amd64Debian GNU/Linux 13 (trixie)golang@sha256:24a707af49702fa44f02785475d02fb752f6982d3e9c0afb7696e1f0204e7ce9
python:3.13Python 3.13.18Debian GNU/Linux 13 (trixie)python@sha256:90b30ab329c01caa6b7d221bb0e2ab034109044ed38d933d3c2711f4386c1004
python:3.15Python 3.15.2Debian GNU/Linux 13 (trixie)python@sha256:3d35e8d5e482ef4f6151426e59208ecde73b7a80e88b38c1b098f60662e5fb91

Measurements in this session

In the order they ran (randomised). The median is the warm kernel time (end-to-end for the start-up task); “÷ factor” converts it to the average machine. Cold is the first iteration; end-to-end is process start to exit.

ProblemLanguage / buildIterationsMedian (warm kernel)÷ factorColdEnd-to-endAvg. memoryOutput
String operationsC 14 · gcc-O254118.5 ms21.0 ms21.3 ms27.1 ms13.8 MBcorrect
Prime sieveGo 1.27 · go-default57117.4 ms19.8 ms22.3 ms23.1 ms21.9 MBcorrect
SortingC 15 · gcc-O342239 ms272 ms243 ms262 ms16.2 MBcorrect
File processingC 14 · gcc-O3-native79128 ms145 ms127 ms130 ms1.1 MBcorrect
String operationsC 15 · gcc-O3-native68414.6 ms16.6 ms17.6 ms23.1 ms13.8 MBcorrect
Prime sieveC 14 · gcc-O351219.5 ms22.1 ms23.8 ms24.4 ms10.4 MBcorrect
Binary TreesC 14 · gcc-O3-native18955.1 ms62.6 ms39.6 ms41.2 ms2.5 MBcorrect
Prime sieveC 14 · gcc-O251319.4 ms22.1 ms23.7 ms24.1 ms10.4 MBcorrect
Matrix multiplyGo 1.24 · go-default98910.0 ms11.3 ms10.3 ms13.6 ms7.1 MBcorrect
Hash mapC 15 · gcc-O3-native31531.7 ms36.0 ms31.3 ms38.7 ms20.9 MBcorrect
Fannkuch-reduxPython 3.14 · cpython-default23443 ms503 ms471 ms486 ms6.1 MBcorrect
String operationsC 16 · gcc-O3-native68414.6 ms16.6 ms17.5 ms23.5 ms13.8 MBcorrect
Parallel reductionC 16 · gcc-O3-native10494.9 ms108 ms94.6 ms102 ms0.5 MBcorrect
File processingGo 1.26 · go-amd64-v364158 ms179 ms160 ms162 ms6.1 MBcorrect
SortingC 14 · gcc-O3-native42241 ms274 ms245 ms264 ms16.2 MBcorrect
Matrix multiplyGo 1.27 · go-default17995.5 ms6.3 ms5.8 ms8.9 ms7.9 MBcorrect
Matrix multiplyPython 3.14 · cpython-default12836 ms949 ms832 ms891 ms18.7 MBcorrect
File processingC 15 · gcc-O378129 ms146 ms126 ms130 ms1.1 MBcorrect
Prime sievePython 3.13 · cpython-default26392 ms446 ms394 ms422 ms29.3 MBcorrect
Binary TreesGo 1.26 · go-default15066.7 ms75.8 ms68.7 ms70.7 ms6.9 MBcorrect
JSON parsingGo 1.27 · go-amd64-v321471 ms535 ms520 ms539 ms211 MBcorrect
Matrix multiplyC 14 · gcc-O3-native62191.6 ms1.8 ms2.3 ms4.2 ms3.2 MBcorrect
Binary TreesPython 3.15 · cpython-default41244 ms277 ms250 ms273 ms9.3 MBcorrect
File processingPython 3.15 · cpython-default14732 ms831 ms740 ms777 ms6.7 MBcorrect
File processingC 15 · gcc-O278129 ms147 ms130 ms131 ms1.1 MBcorrect
SortingC 14 · gcc-O342239 ms272 ms243 ms263 ms16.2 MBcorrect
Parallel reductionPython 3.14 · cpython-default52.39 s2.71 s2.42 s2.48 s16.9 MBcorrect
StartupC 16 · gcc-O3-native10531 µs603 µs-531 µs2.1 MBcorrect
Matrix multiplyGo 1.26 · go-amd64-v317775.6 ms6.3 ms6.3 ms8.9 ms7.3 MBcorrect
Fannkuch-reduxC 14 · gcc-O254518.4 ms20.9 ms18.4 ms18.9 ms0.4 MBcorrect
Prime sieveC 14 · gcc-O3-native51319.5 ms22.1 ms23.7 ms23.8 ms10.4 MBcorrect
Parallel reductionC 14 · gcc-O3-native10396.2 ms109 ms88.7 ms97.2 ms0.5 MBcorrect
Matrix multiplyC 16 · gcc-O336982.7 ms3.1 ms3.1 ms4.9 ms3.2 MBcorrect
File processingC 14 · gcc-O378130 ms147 ms129 ms130 ms1.1 MBcorrect
N-Body simulationC 14 · gcc-O217657.1 ms64.8 ms57.3 ms57.9 ms0.4 MBcorrect
Binary TreesGo 1.24 · go-default14369.9 ms79.4 ms72.0 ms73.2 ms6.3 MBcorrect
Binary TreesPython 3.13 · cpython-default36281 ms319 ms282 ms292 ms8.2 MBcorrect
Hash mapC 14 · gcc-O330233.2 ms37.7 ms34.1 ms39.1 ms21.0 MBcorrect
N-Body simulationGo 1.27 · go-default13972.1 ms81.9 ms72.3 ms73.9 ms1.1 MBcorrect
Parallel reductionC 16 · gcc-O310496.2 ms109 ms101 ms97.7 ms0.5 MBcorrect
Fannkuch-reduxGo 1.24 · go-default55518.0 ms20.4 ms18.1 ms19.3 ms0.8 MBcorrect
Hash mapC 14 · gcc-O3-native32630.2 ms34.3 ms30.8 ms36.2 ms20.7 MBcorrect
StartupPython 3.14 · cpython-default1023.0 ms26.2 ms-23.0 ms11.6 MBcorrect
N-Body simulationC 14 · gcc-O3-native17657.1 ms64.9 ms57.1 ms57.9 ms0.4 MBcorrect
SortingGo 1.24 · go-default67150 ms170 ms150 ms177 ms42.1 MBcorrect
N-Body simulationC 15 · gcc-O317557.0 ms64.8 ms57.2 ms57.9 ms0.4 MBcorrect
SortingC 16 · gcc-O342239 ms272 ms242 ms262 ms16.2 MBcorrect
StartupGo 1.27 · go-default101.2 ms1.3 ms-1.2 ms2.5 MBcorrect
JSON parsingC 15 · gcc-O248220.7 ms23.5 ms20.4 ms36.7 ms20.4 MBcorrect
String operationsPython 3.15 · cpython-default15465.3 ms74.2 ms65.8 ms109 ms42.3 MBcorrect
Hash mapC 15 · gcc-O332130.6 ms34.8 ms31.1 ms33.4 ms20.7 MBcorrect
Binary TreesC 15 · gcc-O219353.4 ms60.6 ms39.7 ms41.1 ms2.5 MBcorrect
Matrix multiplyC 15 · gcc-O3-native64781.5 ms1.7 ms2.2 ms4.1 ms3.2 MBcorrect
SortingGo 1.26 · go-default68149 ms169 ms150 ms176 ms46.2 MBcorrect
Fannkuch-reduxC 16 · gcc-O356017.9 ms20.3 ms18.0 ms18.4 ms0.4 MBcorrect