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

Levenshtein, 1k pairs

Edit-distance between 1,000 pre-generated string pairs of length 24–48.

Compile time · median (cold)

median of 7 runs

Native Gocompiled
109 ms92.6×
Pipitbytecode VM
1.18 msbaseline
CPython 3.14bytecode VM
439 µs0.37×
PyPy 7.3tracing JIT
326 µs0.28×
Ttengobytecode VM
257 µs0.22×
Sscriggobytecode VM
400 µs0.34×
Mmvmbytecode VM
360 µs0.31×
YyaegiAST walker
364 µs0.31×

Full statistics

RunnerNCompileRuntimeP95StddevRSSvs pipitStatus
Native Gocompiled7109 ms5.29 ms5.29 ms69.3 µs197 MiB92.6×OK
Pipitbytecode VM71.18 ms74.9 ms76.2 ms972 µs114 MiB1.00×OK
CPython 3.14bytecode VM7439 µs174 ms176 ms1.32 msn/a0.37×OK
PyPy 7.3tracing JIT7326 µs30.2 ms33.2 ms1.18 msn/a0.28×OK
tengobytecode VM7257 µs622 ms628 ms25.9 ms191 MiB0.22×OK
scriggobytecode VM7400 µs318 ms343 ms13.0 ms191 MiB0.34×OK
mvmbytecode VM7360 µs474 ms497 ms11.6 ms191 MiB0.31×OK
yaegiAST walker7364 µs694 ms740 ms29.5 ms191 MiB0.31×OK
Workload & symmetry rules

Workload

For each of 1,000 pre-generated pairs, compute classical 2-row Levenshtein distance. Sum the distances and print the total.

Symmetry rules

  • 2-row dynamic-programming variant only, with no allocation per pair.
  • Hand-rolled min(a, b, c) (no math.min).
  • ASCII strings; no Unicode normalisation step.
Source code