Results for 38 of 40 languages from this run on actest1.

Unavailable in this run: Hack, Lisp. Follow the run link for failure details.

All merkletrees problem benchmarks

Current benchmark data was generated on Sun Sep 27 2026, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] Intel(R) Core(TM) i7-3687U CPU @ 2.10GHz (Model 58)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

merkletrees

Input: 17

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
java 1.java 639ms 19ms 672.5MB 787ms 113ms openjdk 21.0.12
kotlin 1.kt 641ms 8.2ms 676.7MB 820ms 93ms kotlin/jvm 21.0.12
javascript 1-m.js 760ms 4.7ms 132.5MB 1093ms 90ms bun 1.4.2
nim 1.nim 790ms 8.4ms 36.7MB 777ms 3ms nim 2.2.4
dart 1.dart 826ms 7.2ms 55.9MB 820ms 30ms dart/exe 3.13.4
typescript 1.ts 844ms 5.3ms 155.5MB 943ms 100ms deno 2.9.7
csharp 2.cs 904ms 34ms 135.4MB 880ms 93ms dotnet 9.0.318
javascript 1.js 931ms 17ms 230.9MB 973ms 120ms node 24.21.0
nim 1.nim 970ms 6.2ms 35.1MB 950ms 7ms nim/clang 2.2.4
csharp 1.cs 1035ms 40ms 163.4MB 1010ms 123ms dotnet 9.0.318
rust 1.rs 1084ms 8.3ms 33.8MB 1060ms 10ms rustc 1.98.1
java 1.java 1091ms 23ms 952.0MB 723ms 573ms openjdk/zgc 21.0.12
crystal 1.cr 1329ms 15ms 65.7MB 1307ms 10ms crystal 1.11.2
haxe 1.hx 1367ms 28ms 97.2MB 1520ms 53ms haxe/cpp 4.3.3
wasm 1.rs 1381ms 5.3ms 39.9MB 1357ms 7ms wasmtime 48.0.2
zig 1.zig 1494ms 63ms 41.2MB 1463ms 13ms zig 0.14.1
d 1.d 1511ms 7.3ms 312.8MB 1477ms 30ms ldc2 1.43.0
ocaml 1.ml 1750ms 70ms 71.3MB 1707ms 27ms ocaml 5.3.0
go 2-m.go 2861ms 32ms 35.4MB 5927ms 33ms go 1.26.8
go 1-m.go 3072ms 206ms 36.8MB 5667ms 47ms go 1.26.8
ocaml 2.ml 3254ms 22ms 92.0MB 3210ms 30ms ocaml 5.3.0
acton-tip 1.act 4386ms 4.2ms 83.6MB 5510ms 60ms acton 0.30.0.20260927.9.45
acton 1.act 4999ms 46ms 83.6MB 6123ms 57ms acton 0.30.0
php 1.php 5831ms 51ms 82.1MB 5797ms 13ms php 8.3.6
lua 1.lua 15068ms 464ms 183.4MB 14980ms 70ms luajit 2.1.1703358377
lua 1.lua 18968ms 144ms 107.9MB 18917ms 33ms lua 5.4.6
ruby 1.rb 27746ms 105ms 103.9MB 27650ms 80ms ruby 3.2.3
ruby 1.rb 27918ms 153ms 104.0MB 27813ms 87ms ruby/yjit 3.2.3
python 1.py 34848ms 576ms 107.3MB 34757ms 73ms cpython 3.12.3

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 1.nim 143ms 4.6ms 11.5MB 123ms 0ms nim 2.2.4
javascript 1.js 180ms 2.7ms 57.9MB 243ms 20ms bun 1.4.2
nim 1.nim 183ms 6.8ms 9.5MB 170ms 0ms nim/clang 2.2.4
rust 1.rs 212ms 3.5ms 9.8MB 197ms 0ms rustc 1.98.1
typescript 1.ts 214ms 6.8ms 88.3MB 237ms 30ms deno 2.9.7
java 1-m.java 244ms 6.2ms 203.4MB 380ms 43ms openjdk 21.0.12
kotlin 1-m.kt 250ms 11ms 205.0MB 363ms 67ms kotlin/jvm 21.0.12
haxe 1.hx 256ms 5.1ms 26.9MB 270ms 10ms haxe/cpp 4.3.3
javascript 1.js 262ms 3.9ms 107.0MB 280ms 33ms node 24.21.0
zig 1.zig 267ms 4.3ms 11.0MB 253ms 3ms zig 0.14.1
crystal 1.cr 270ms 3.0ms 23.9MB 253ms 0ms crystal 1.11.2
ocaml 1.ml 285ms 24ms 21.8MB 267ms 0ms ocaml 5.3.0
wasm 1.rs 292ms 3.2ms 21.8MB 270ms 7ms wasmtime 48.0.2
csharp 2.cs 304ms 5.8ms 74.7MB 257ms 57ms dotnet 9.0.318
d 1.d 323ms 3.5ms 312.6MB 277ms 37ms ldc2 1.43.0
csharp 1.cs 337ms 4.6ms 93.7MB 303ms 57ms dotnet 9.0.318
dart 1.dart 463ms 4.0ms 43.5MB 447ms 13ms dart/exe 3.13.4
java 1.java 494ms 111ms 341.8MB 367ms 237ms openjdk/zgc 21.0.12
ocaml 2.ml 599ms 0.6ms 27.8MB 570ms 10ms ocaml 5.3.0
go 1-m.go 617ms 73ms 14.2MB 1040ms 43ms go 1.26.8
go 2-m.go 642ms 38ms 14.3MB 1227ms 20ms go 1.26.8
acton-tip 1.act 979ms 13ms 23.2MB 1220ms 37ms acton 0.30.0.20260927.9.45
acton 1.act 1097ms 13ms 31.2MB 1333ms 33ms acton 0.30.0
php 1.php 1203ms 2.2ms 34.9MB 1183ms 3ms php 8.3.6
lua 1.lua 2066ms 2.3ms 36.3MB 2040ms 7ms luajit 2.1.1703358377
lua 1.lua 3347ms 133ms 28.8MB 3327ms 3ms lua 5.4.6
python 1.py 5815ms 33ms 34.4MB 5790ms 7ms cpython 3.12.3
ruby 1.rb 6147ms 56ms 44.0MB 6087ms 47ms ruby/yjit 3.2.3
ruby 1.rb 6156ms 36ms 44.0MB 6097ms 43ms ruby 3.2.3