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

Word frequency

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

Compile time · median (cold)

median of 7 runs

Native Gocompiled
108 ms61.2×
Pipitbytecode VM
1.76 msbaseline
CPython 3.14bytecode VM
565 µs0.32×
PyPy 7.3tracing JIT
412 µs0.23×
Ttengobytecode VM
429 µs0.24×
Sscriggobytecode VM
735 µs0.42×
Mmvmbytecode VM
555 µs0.31×
YyaegiAST walker
516 µs0.29×

Full statistics

RunnerNCompileRuntimeP95StddevRSSvs pipitStatus
Native Gocompiled7108 ms19.1 ms19.4 ms200 µs125 MiB61.2×OK
Pipitbytecode VM71.76 ms131 ms173 ms15.6 ms98 MiB1.00×OK
CPython 3.14bytecode VM7565 µs289 ms299 ms3.66 msn/a0.32×OK
PyPy 7.3tracing JIT7412 µs50.7 ms54.1 ms3.36 msn/a0.23×OK
tengobytecode VM7429 µs930 ms986 ms27.9 ms190 MiB0.24×OK
scriggobytecode VM7735 µs444 ms475 ms18.8 ms109 MiB0.42×OK
mvmbytecode VM7555 µs631 ms665 ms19.2 ms191 MiB0.31×OK
yaegiAST walker7516 µs442 ms492 ms20.7 ms109 MiB0.29×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