Host
Intel Core Ultra 9 285K · 24 cores
Platform
linux/amd64
Go
go1.26.0
CPython
python:3.13-slim
PyPy
pypy:3.10-slim
Runs / combo
10 + 2 warmup

Levenshtein, 1k pairs

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

Compile time · median (cold)

median of 10 runs

Native Gocompiled
182 ms144×
Piko interpbytecode VM
1.26 msbaseline
CPython 3.13bytecode VM
360 µs0.28×
PyPy 7.3tracing JIT
295 µs0.23×
Ttengobytecode VM
259 µs0.21×
Sscriggobytecode VM
391 µs0.31×
Mmvmbytecode VM
322 µs0.26×
YyaegiAST walker
339 µs0.27×

Full statistics

RunnerNCompileRuntimeP95StddevRSSvs pikoStatus
Native Gocompiled10182 ms5.29 ms5.30 ms58.0 µs68 MiB144×OK
Piko interpbytecode VM101.26 ms191 ms195 ms1.62 ms96 MiB1.00×OK
CPython 3.13bytecode VM10360 µs196 ms222 ms8.65 msn/a0.28×OK
PyPy 7.3tracing JIT10295 µs25.3 ms26.2 ms515 µsn/a0.23×OK
tengobytecode VM10259 µs542 ms589 ms26.1 ms2.14 GiB0.21×OK
scriggobytecode VM10391 µs361 ms724 ms116 ms78 MiB0.31×OK
mvmbytecode VM10322 µs753 ms794 ms25.1 ms66 MiB0.26×OK
yaegiAST walker10339 µs659 ms704 ms27.6 ms68 MiB0.27×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