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

Word frequency

Tokenise a 1 MiB ASCII corpus and count word occurrences into a hash map.

Compile time · median (cold)

median of 10 runs

Native Gocompiled
181 ms104×
Piko interpbytecode VM
1.74 msbaseline
CPython 3.13bytecode VM
452 µs0.26×
PyPy 7.3tracing JIT
387 µs0.22×
Ttengobytecode VM
332 µs0.19×
Sscriggobytecode VM
653 µs0.37×
Mmvmbytecode VM
506 µs0.29×
YyaegiAST walker
485 µs0.28×

Full statistics

RunnerNCompileRuntimeP95StddevRSSvs pikoStatus
Native Gocompiled10181 ms18.0 ms18.3 ms154 µs68 MiB104×OK
Piko interpbytecode VM101.74 ms182 ms185 ms1.85 ms307 MiB1.00×OK
CPython 3.13bytecode VM10452 µs313 ms324 ms6.94 msn/a0.26×OK
PyPy 7.3tracing JIT10387 µs40.8 ms46.0 ms1.89 msn/a0.22×OK
tengobytecode VM10332 µs788 ms936 ms61.5 ms5.36 GiB0.19×OK
scriggobytecode VM10653 µs417 ms432 ms7.69 ms1.12 GiB0.37×OK
mvmbytecode VM10506 µs696 ms755 ms31.4 ms71 MiB0.29×OK
yaegiAST walker10485 µs463 ms500 ms14.3 ms72 MiB0.28×OK
Workload & symmetry rules

Workload

Read a 1 MiB lorem corpus. Tokenise on whitespace + ASCII punctuation. Count occurrences in a map. Print the top-10 by frequency.

Symmetry rules

  • Tokenisation by hand-rolled byte loop (no str.split C path, no regex).
  • Counting via the language's built-in map / dict.
  • Top-10 via a simple sort, no heapq.
Source code