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.

Runtime · median per inner-loop window

median of 7 runs

Native Gocompiled
19.1 ms0.15×
Pipitbytecode VM
131 msbaseline
CPython 3.14bytecode VM
289 ms2.20×
PyPy 7.3tracing JIT
50.7 ms0.39×
Ttengobytecode VM
930 ms7.07×
Sscriggobytecode VM
444 ms3.38×
Mmvmbytecode VM
631 ms4.80×
YyaegiAST walker
442 ms3.36×

Full statistics

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