Host
Intel Core Ultra 9 285K · 24 cores
Platform
linux/amd64
Go
go1.27.0
CPython
python:3.14-slim
PyPy
pypy:3.11-slim
Runs / combo
7 + 2 warmup

Smoke: integer addition

Sum 1..N in a tight loop, the smallest workload in the suite. It exists to surface interpreter dispatch overhead at the smallest possible payload.

Compile time · median (cold)

median of 7 runs

Native Gocompiled
108 ms256×
Pipitbytecode VM
422 µsbaseline
CPython 3.14bytecode VM
226 µs0.54×
PyPy 7.3tracing JIT
172 µs0.41×
Ttengobytecode VM
110 µs0.26×
Sscriggobytecode VM
85.8 µs0.20×
Mmvmbytecode VM
166 µs0.39×
YyaegiAST walker
167 µs0.40×

Full statistics

RunnerNCompileRuntimeP95StddevRSSvs pipitStatus
Native Gocompiled7108 ms25.1 µs25.7 µs270 ns71 MiB256×OK
Pipitbytecode VM7422 µs465 µs541 µs37.0 µs54 MiB1.00×OK
CPython 3.14bytecode VM7226 µs1.54 ms1.65 ms59.9 µsn/a0.54×OK
PyPy 7.3tracing JIT7172 µs509 µs525 µs6.85 µsn/a0.41×OK
tengobytecode VM7110 µs3.03 ms3.68 ms228 µs59 MiB0.26×OK
scriggobytecode VM785.8 µs2.61 ms2.66 ms28.3 µs59 MiB0.20×OK
mvmbytecode VM7166 µs1.01 ms1.76 ms291 µs59 MiB0.39×OK
yaegiAST walker7167 µs1.60 ms2.21 ms349 µs59 MiB0.40×OK
Workload & symmetry rules

Workload

Sum 1..1,000,000 in a single tight loop, print the result mod 2^32.

Why this benchmark exists

It's the simplest possible interpreter workload. If dispatch dominates anything, it dominates this. End-to-end mode is therefore mostly startup time; inner-loop mode is mostly add+jump throughput.

Symmetry rules

  • One loop, two locals, no function calls in the hot path.
  • No sum() / numpy / strconv shortcuts.
Source code