language-bench

Sessions ›

Session 2026-10-27 16:36 UTC

2026-10-27T16-36-03-827Z-s3: one fresh virtual machine (AMD EPYC 9V74 80-Core Processor, 4 cores) that measured 91 benchmarks in 31 min 58 s.

How fast was this machine?

1.08× slower than average
GitHub gives every session a different computer, and some are faster than others. Programs that ran here took about 1.08× as long 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. 91 of the 91 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: 1.08×, which equals this session's factor of 1.08×. 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
N-Body simulation · Go 1.24 · go-default88.8 ms81.2 ms1.09×3
JSON parsing · C 14 · gcc-O321.9 ms20.2 ms1.08×3
Binary Trees · Go 1.26 · go-amd64-v382.5 ms77.6 ms1.06×3
Sorting · Python 3.15 · cpython-default763 ms756 ms1.01×3
Binary Trees · C 14 · gcc-O264.5 ms60.5 ms1.07×3
Binary Trees · Go 1.27 · go-default52.1 ms52.1 ms1.00×3
Prime sieve · Python 3.14 · cpython-default436 ms399 ms1.09×4
Prime sieve · C 14 · gcc-O223.7 ms21.8 ms1.09×4
JSON parsing · Go 1.24 · go-default371 ms334 ms1.11×3
String operations · Python 3.13 · cpython-default75.7 ms68.6 ms1.10×4
N-Body simulation · Go 1.26 · go-amd64-v391.9 ms83.4 ms1.10×3
Fannkuch-redux · C 14 · gcc-O322.6 ms19.9 ms1.14×3
Startup · Go 1.24 · go-default1.1 ms1.0 ms1.10×3
N-Body simulation · C 16 · gcc-O3-native70.5 ms64.1 ms1.10×3
Startup · Go 1.27 · go-default1.4 ms1.3 ms1.06×4
N-Body simulation · C 15 · gcc-O275.7 ms69.3 ms1.09×3
Binary Trees · C 16 · gcc-O265.2 ms59.8 ms1.09×4
Binary Trees · Go 1.27 · go-amd64-v353.2 ms51.7 ms1.03×3
Prime sieve · C 15 · gcc-O224.4 ms22.0 ms1.11×3
Sorting · C 14 · gcc-O2299 ms262 ms1.14×3
Matrix multiply · C 15 · gcc-O3-native1.9 ms1.9 ms1.01×4
String operations · Go 1.26 · go-default41.0 ms37.6 ms1.09×3
Startup · Go 1.26 · go-default1.4 ms1.4 ms1.06×3
N-Body simulation · C 15 · gcc-O3-native68.9 ms63.9 ms1.08×3
Parallel reduction · Go 1.27 · go-default105 ms98.1 ms1.07×3
Fannkuch-redux · Python 3.13 · cpython-default569 ms549 ms1.04×4
Binary Trees · C 16 · gcc-O363.9 ms59.5 ms1.07×3
JSON parsing · Python 3.15 · cpython-default809 ms714 ms1.13×3
JSON parsing · C 15 · gcc-O321.6 ms20.0 ms1.08×3
Hash map · Go 1.26 · go-amd64-v3104 ms95.6 ms1.09×3
Fannkuch-redux · Go 1.27 · go-amd64-v322.0 ms19.5 ms1.13×3
Sorting · Go 1.26 · go-amd64-v3179 ms161 ms1.11×4
Sorting · C 15 · gcc-O2294 ms267 ms1.10×4
Parallel reduction · C 16 · gcc-O2116 ms106 ms1.09×3
Binary Trees · Python 3.13 · cpython-default324 ms314 ms1.03×4
String operations · Go 1.24 · go-amd64-v341.5 ms38.6 ms1.08×3
N-Body simulation · C 16 · gcc-O274.4 ms68.9 ms1.08×3
String operations · Go 1.24 · go-default41.7 ms38.8 ms1.07×3
Sorting · Python 3.13 · cpython-default792 ms748 ms1.06×3
File processing · C 15 · gcc-O3-native160 ms147 ms1.09×3
File processing · C 16 · gcc-O2156 ms147 ms1.07×4
String operations · Go 1.27 · go-default40.4 ms37.7 ms1.07×3
String operations · C 14 · gcc-O222.4 ms20.7 ms1.08×4
Prime sieve · Go 1.24 · go-default21.7 ms20.1 ms1.08×3
Fannkuch-redux · C 14 · gcc-O3-native22.4 ms19.4 ms1.15×4
String operations · C 14 · gcc-O3-native17.6 ms16.5 ms1.06×3
Startup · C 15 · gcc-O3640 µs596 µs1.07×3
Binary Trees · C 15 · gcc-O3-native64.8 ms61.1 ms1.06×3
File processing · C 14 · gcc-O2155 ms146 ms1.06×3
Parallel reduction · C 14 · gcc-O2114 ms106 ms1.07×3
Parallel reduction · C 16 · gcc-O3114 ms106 ms1.08×4
JSON parsing · Python 3.14 · cpython-default873 ms765 ms1.14×3
Parallel reduction · C 14 · gcc-O3115 ms106 ms1.08×3
File processing · Go 1.26 · go-default189 ms181 ms1.04×3
Matrix multiply · Python 3.15 · cpython-default936 ms954 ms0.98×3
N-Body simulation · C 14 · gcc-O270.1 ms64.3 ms1.09×4
Startup · C 14 · gcc-O3-native638 µs593 µs1.08×3
String operations · C 16 · gcc-O318.1 ms16.5 ms1.10×3
JSON parsing · Go 1.27 · go-default573 ms583 ms0.98×4
Prime sieve · C 14 · gcc-O3-native23.7 ms21.6 ms1.10×4
N-Body simulation · C 15 · gcc-O369.5 ms64.2 ms1.08×4
Parallel reduction · Go 1.26 · go-amd64-v3108 ms98.0 ms1.11×3
Sorting · C 16 · gcc-O3-native295 ms267 ms1.10×3
Fannkuch-redux · Go 1.27 · go-default21.8 ms19.5 ms1.12×3
Sorting · Go 1.27 · go-default179 ms164 ms1.09×3
Prime sieve · Python 3.15 · cpython-default425 ms395 ms1.08×4
Parallel reduction · C 15 · gcc-O3-native116 ms107 ms1.09×4
String operations · Go 1.27 · go-amd64-v341.0 ms37.9 ms1.08×4
Binary Trees · C 15 · gcc-O265.8 ms60.9 ms1.08×4
Fannkuch-redux · Python 3.15 · cpython-default513 ms475 ms1.08×3
Sorting · Go 1.27 · go-amd64-v3179 ms163 ms1.10×3
String operations · C 16 · gcc-O3-native18.0 ms16.6 ms1.08×4
JSON parsing · Python 3.13 · cpython-default823 ms715 ms1.15×3
Parallel reduction · Python 3.13 · cpython-default4.20 s3.83 s1.10×3
Prime sieve · C 15 · gcc-O323.7 ms22.3 ms1.06×3
Fannkuch-redux · Go 1.24 · go-default21.8 ms19.8 ms1.10×4
Hash map · Go 1.27 · go-amd64-v399.2 ms95.5 ms1.04×3
File processing · C 16 · gcc-O3159 ms147 ms1.08×3
Fannkuch-redux · Go 1.26 · go-default22.2 ms20.4 ms1.09×3
Startup · C 15 · gcc-O2660 µs596 µs1.11×3
N-Body simulation · C 16 · gcc-O369.5 ms64.2 ms1.08×3
Hash map · Go 1.24 · go-amd64-v3103 ms95.2 ms1.08×3
Parallel reduction · C 15 · gcc-O2118 ms108 ms1.09×3
Sorting · C 16 · gcc-O2292 ms262 ms1.11×4
File processing · Go 1.27 · go-amd64-v3189 ms177 ms1.07×3
N-Body simulation · Python 3.15 · cpython-default6.47 s6.42 s1.01×4
Fannkuch-redux · C 14 · gcc-O222.4 ms19.6 ms1.14×4
Parallel reduction · Python 3.15 · cpython-default2.27 s2.19 s1.04×3
Startup · C 14 · gcc-O3632 µs598 µs1.06×3
String operations · C 15 · gcc-O3-native17.8 ms16.5 ms1.08×4
Matrix multiply · C 16 · gcc-O3-native2.0 ms2.0 ms0.98×3
Geometric mean1.08×

Machine

CPU
AMD EPYC 9V74 80-Core Processor (AuthenticAMD), 4 cores, 2975 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.58 1.04 0.40 1/444 151

Run

Started
2026-10-27T16:36:25.562Z
Finished
2026-10-27T17:08:23.568Z (31 min 58 s)
Triggered by
schedule (bench), by StijnRis, session 3 of 3 in its round
CI run
StijnRis/language-bench/actions/runs/40542419361
Code version
59b8e7e0c7
Raw data
data/sessions/2026-10-27T16-36-03-827Z-s3.json
Timing
in-process kernel loops of the language harnesses; hyperfine 2.0.0 for the end-to-end runs
Why these benchmarks
66 had the fewest sessions so far, 25 re-run on purpose to compare machines

Docker images

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

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
N-Body simulationGo 1.24 · go-default11488.8 ms82.3 ms86.7 ms90.3 ms1.0 MBcorrect
JSON parsingC 14 · gcc-O345621.9 ms20.3 ms21.7 ms41.4 ms20.5 MBcorrect
Binary TreesGo 1.26 · go-amd64-v312182.5 ms76.4 ms82.8 ms87.2 ms6.7 MBcorrect
SortingPython 3.15 · cpython-default14763 ms708 ms755 ms2.20 s106 MBcorrect
Binary TreesC 14 · gcc-O216164.5 ms59.8 ms48.7 ms50.5 ms2.5 MBcorrect
Binary TreesGo 1.27 · go-default19252.1 ms48.3 ms55.4 ms57.3 ms6.8 MBcorrect
Prime sievePython 3.14 · cpython-default23436 ms404 ms440 ms484 ms43.0 MBcorrect
Prime sieveC 14 · gcc-O242123.7 ms21.9 ms27.9 ms28.3 ms10.4 MBcorrect
JSON parsingGo 1.24 · go-default27371 ms344 ms451 ms467 ms206 MBcorrect
String operationsPython 3.13 · cpython-default13275.7 ms70.1 ms79.8 ms137 ms44.9 MBcorrect
N-Body simulationGo 1.26 · go-amd64-v311091.9 ms85.2 ms91.4 ms94.1 ms1.1 MBcorrect
Fannkuch-reduxC 14 · gcc-O344322.6 ms21.0 ms22.8 ms23.4 ms0.5 MBcorrect
StartupGo 1.24 · go-default101.1 ms1.0 ms-1.1 ms1.9 MBcorrect
N-Body simulationC 16 · gcc-O3-native14270.5 ms65.3 ms70.6 ms71.6 ms0.5 MBcorrect
StartupGo 1.27 · go-default101.4 ms1.3 ms-1.4 ms2.5 MBcorrect
N-Body simulationC 15 · gcc-O213275.7 ms70.1 ms76.6 ms76.8 ms0.4 MBcorrect
Binary TreesC 16 · gcc-O216065.2 ms60.4 ms48.7 ms51.7 ms2.6 MBcorrect
Binary TreesGo 1.27 · go-amd64-v318753.2 ms49.3 ms56.6 ms59.1 ms6.7 MBcorrect
Prime sieveC 15 · gcc-O241124.4 ms22.6 ms27.9 ms29.4 ms10.4 MBcorrect
SortingC 14 · gcc-O234299 ms277 ms305 ms325 ms16.1 MBcorrect
Matrix multiplyC 15 · gcc-O3-native52051.9 ms1.8 ms2.7 ms5.0 ms3.2 MBcorrect
String operationsGo 1.26 · go-default24341.0 ms38.0 ms43.7 ms56.6 ms31.5 MBcorrect
StartupGo 1.26 · go-default101.4 ms1.3 ms-1.4 ms2.5 MBcorrect
N-Body simulationC 15 · gcc-O3-native14568.9 ms63.9 ms68.0 ms69.6 ms0.4 MBcorrect
Parallel reductionGo 1.27 · go-default96105 ms97.2 ms105 ms109 ms1.2 MBcorrect
Fannkuch-reduxPython 3.13 · cpython-default18569 ms527 ms575 ms612 ms6.2 MBcorrect
Binary TreesC 16 · gcc-O316363.9 ms59.2 ms47.9 ms51.1 ms2.5 MBcorrect
JSON parsingPython 3.15 · cpython-default13809 ms750 ms841 ms890 ms154 MBcorrect
JSON parsingC 15 · gcc-O346321.6 ms20.1 ms22.2 ms41.6 ms20.4 MBcorrect
Hash mapGo 1.26 · go-amd64-v396104 ms96.5 ms104 ms124 ms47.1 MBcorrect
Fannkuch-reduxGo 1.27 · go-amd64-v345522.0 ms20.4 ms21.8 ms23.6 ms1.0 MBcorrect
SortingGo 1.26 · go-amd64-v357179 ms166 ms180 ms211 ms41.0 MBcorrect
SortingC 15 · gcc-O235294 ms272 ms300 ms320 ms16.1 MBcorrect
Parallel reductionC 16 · gcc-O287116 ms107 ms108 ms116 ms0.5 MBcorrect
Binary TreesPython 3.13 · cpython-default31324 ms300 ms321 ms356 ms8.2 MBcorrect
String operationsGo 1.24 · go-amd64-v324141.5 ms38.5 ms43.7 ms63.4 ms31.0 MBcorrect
N-Body simulationC 16 · gcc-O213574.4 ms68.9 ms75.2 ms75.9 ms0.5 MBcorrect
String operationsGo 1.24 · go-default24041.7 ms38.6 ms43.3 ms63.6 ms31.9 MBcorrect
SortingPython 3.13 · cpython-default13792 ms734 ms769 ms2.14 s106 MBcorrect
File processingC 15 · gcc-O3-native63160 ms148 ms157 ms159 ms1.5 MBcorrect
File processingC 16 · gcc-O264156 ms145 ms157 ms160 ms1.5 MBcorrect
String operationsGo 1.27 · go-default24740.4 ms37.5 ms44.5 ms55.7 ms31.8 MBcorrect
String operationsC 14 · gcc-O244722.4 ms20.7 ms25.3 ms31.7 ms13.8 MBcorrect
Prime sieveGo 1.24 · go-default46221.7 ms20.1 ms26.6 ms28.7 ms21.5 MBcorrect
Fannkuch-reduxC 14 · gcc-O3-native44722.4 ms20.8 ms22.4 ms23.0 ms0.5 MBcorrect
String operationsC 14 · gcc-O3-native56817.6 ms16.3 ms20.4 ms26.8 ms13.8 MBcorrect
StartupC 15 · gcc-O310640 µs593 µs-640 µs2.1 MBcorrect
Binary TreesC 15 · gcc-O3-native16164.8 ms60.0 ms47.5 ms49.5 ms2.5 MBcorrect
File processingC 14 · gcc-O265155 ms144 ms154 ms155 ms1.5 MBcorrect
Parallel reductionC 14 · gcc-O287114 ms106 ms120 ms116 ms0.5 MBcorrect
Parallel reductionC 16 · gcc-O388114 ms106 ms119 ms116 ms0.5 MBcorrect
JSON parsingPython 3.14 · cpython-default12873 ms809 ms874 ms943 ms156 MBcorrect
Parallel reductionC 14 · gcc-O386115 ms106 ms125 ms117 ms0.5 MBcorrect
File processingGo 1.26 · go-default53189 ms175 ms195 ms195 ms6.4 MBcorrect
Matrix multiplyPython 3.15 · cpython-default11936 ms867 ms952 ms1.02 s18.1 MBcorrect
N-Body simulationC 14 · gcc-O214470.1 ms64.9 ms70.6 ms70.8 ms0.4 MBcorrect
StartupC 14 · gcc-O3-native10638 µs592 µs-638 µs2.1 MBcorrect
String operationsC 16 · gcc-O355318.1 ms16.8 ms20.6 ms28.2 ms13.8 MBcorrect
JSON parsingGo 1.27 · go-default18573 ms531 ms606 ms639 ms210 MBcorrect
Prime sieveC 14 · gcc-O3-native42223.7 ms22.0 ms28.5 ms29.2 ms10.4 MBcorrect
N-Body simulationC 15 · gcc-O314569.5 ms64.4 ms70.0 ms70.6 ms0.4 MBcorrect
Parallel reductionGo 1.26 · go-amd64-v392108 ms100 ms118 ms109 ms1.1 MBcorrect
SortingC 16 · gcc-O3-native34295 ms274 ms302 ms324 ms16.1 MBcorrect
Fannkuch-reduxGo 1.27 · go-default45921.8 ms20.2 ms22.0 ms23.9 ms1.1 MBcorrect
SortingGo 1.27 · go-default56179 ms166 ms180 ms214 ms43.1 MBcorrect
Prime sievePython 3.15 · cpython-default24425 ms394 ms451 ms466 ms43.3 MBcorrect
Parallel reductionC 15 · gcc-O3-native86116 ms108 ms120 ms118 ms0.5 MBcorrect
String operationsGo 1.27 · go-amd64-v324441.0 ms38.0 ms43.8 ms57.5 ms33.1 MBcorrect
Binary TreesC 15 · gcc-O215765.8 ms61.0 ms50.3 ms51.0 ms2.5 MBcorrect
Fannkuch-reduxPython 3.15 · cpython-default20513 ms475 ms547 ms545 ms6.0 MBcorrect
SortingGo 1.27 · go-amd64-v356179 ms166 ms184 ms214 ms41.3 MBcorrect
String operationsC 16 · gcc-O3-native55618.0 ms16.7 ms20.6 ms27.2 ms13.8 MBcorrect
JSON parsingPython 3.13 · cpython-default12823 ms763 ms848 ms893 ms157 MBcorrect
Parallel reductionPython 3.13 · cpython-default34.20 s3.90 s4.04 s4.16 s14.7 MBcorrect
Prime sieveC 15 · gcc-O342123.7 ms22.0 ms29.2 ms28.3 ms10.4 MBcorrect
Fannkuch-reduxGo 1.24 · go-default45921.8 ms20.2 ms22.3 ms23.1 ms0.9 MBcorrect
Hash mapGo 1.27 · go-amd64-v310199.2 ms91.9 ms102 ms120 ms48.6 MBcorrect
File processingC 16 · gcc-O363159 ms147 ms164 ms164 ms1.5 MBcorrect
Fannkuch-reduxGo 1.26 · go-default45022.2 ms20.6 ms22.4 ms23.2 ms1.1 MBcorrect
StartupC 15 · gcc-O210660 µs611 µs-660 µs2.1 MBcorrect
N-Body simulationC 16 · gcc-O314469.5 ms64.4 ms70.9 ms69.9 ms0.4 MBcorrect
Hash mapGo 1.24 · go-amd64-v398103 ms95.0 ms101 ms121 ms43.5 MBcorrect
Parallel reductionC 15 · gcc-O285118 ms109 ms118 ms117 ms0.5 MBcorrect
SortingC 16 · gcc-O235292 ms270 ms294 ms319 ms16.1 MBcorrect
File processingGo 1.27 · go-amd64-v353189 ms175 ms192 ms200 ms6.6 MBcorrect
N-Body simulationPython 3.15 · cpython-default36.47 s6.00 s6.28 s6.62 s6.6 MBcorrect
Fannkuch-reduxC 14 · gcc-O244622.4 ms20.8 ms22.2 ms23.0 ms0.5 MBcorrect
Parallel reductionPython 3.15 · cpython-default52.27 s2.10 s2.27 s2.38 s16.8 MBcorrect
StartupC 14 · gcc-O310632 µs586 µs-632 µs2.1 MBcorrect
String operationsC 15 · gcc-O3-native56217.8 ms16.5 ms21.1 ms27.0 ms13.8 MBcorrect
Matrix multiplyC 16 · gcc-O3-native50892.0 ms1.8 ms2.7 ms5.0 ms3.2 MBcorrect