Startup
Time to start the runtime and print one line.
What is measured
The program prints `ok` and exits. This measures process start-up, runtime initialisation and (for managed runtimes) module loading - the fixed cost paid by every other benchmark.
Pseudocode
print "ok"
exitReveals: Binary start-up and runtime initialisation overhead.
Caveat: Dominated by dynamic linking, container filesystem and the OS; not a measure of throughput. Excluded from aggregate speed scores.
Results (newest release of each language)
| Language / build | Time (× vs best) | |
|---|---|---|
| C 16 · gcc -O2 | 596 µs (1.00×) | |
| C 16 · gcc -O3 | 596 µs (1.01×) | |
| C 16 · gcc -O3 -march=nativedefault | 604 µs (1.02×) | |
| Go 1.27 · GOAMD64=v3 go build | 1.3 ms (2.13×) | |
| Go 1.27 · go builddefault | 1.3 ms (2.23×) | |
| Python 3.15 · python3default | 25.8 ms (43.6×) |
Click a language to see the source code, build flags, every session and how the number was computed.