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 binarytrees 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.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
java 2.java 782ms 124ms 569.1MB 957ms 133ms openjdk 21.0.12
kotlin 1.kt 794ms 80ms 581.9MB 1017ms 130ms kotlin/jvm 21.0.12
nim 2.nim 1224ms 7.0ms 35.9MB 1200ms 7ms nim 2.2.4
julia 4.jl 1258ms 4.8ms 271.5MB 1430ms 57ms julia 1.11.9
javascript 1-m.js 1265ms 52ms 166.7MB 1970ms 113ms bun 1.4.2
java 2.java 1276ms 44ms 1086.4MB 900ms 603ms openjdk/zgc 21.0.12
csharp 1.cs 1295ms 11ms 187.1MB 1320ms 160ms dotnet 9.0.318
javascript 1.js 1464ms 5.7ms 446.7MB 1510ms 173ms node 24.21.0
typescript 1.ts 1467ms 24ms 373.7MB 1743ms 140ms deno 2.9.7
dart 1.dart 1485ms 9.0ms 70.6MB 1513ms 33ms dart/exe 3.13.4
nim 2.nim 1502ms 17ms 35.0MB 1483ms 3ms nim/clang 2.2.4
v 1.v 1604ms 9.3ms 101.7MB 1573ms 13ms v/clang+gc 0.5.2
haxe 1.hx 1998ms 20ms 144.3MB 2477ms 77ms haxe/cpp 4.3.3
acton-tip 1-m.act 2062ms 22ms 38.6MB 3160ms 73ms acton 0.30.0.20260927.9.45
acton 1-m.act 2140ms 43ms 38.5MB 3237ms 57ms acton 0.30.0
rust 5.rs 2161ms 12ms 33.8MB 2140ms 3ms rustc 1.98.1
pony 1.pony 2171ms 7.7ms 2203.4MB 1560ms 487ms ponyc 0.73.0
rust 3.rs 2212ms 49ms 49.8MB 2183ms 10ms rustc 1.98.1
rust 4.rs 2253ms 19ms 33.8MB 2230ms 10ms rustc 1.98.1
crystal 1.cr 2516ms 29ms 57.1MB 2487ms 10ms crystal 1.11.2
wasm 5.rs 2706ms 23ms 31.8MB 2683ms 7ms wasmtime 48.0.2
wasm 4.rs 2716ms 16ms 31.9MB 2693ms 10ms wasmtime 48.0.2
chapel 4.chpl 2730ms 14ms 64.8MB 2707ms 7ms chpl 2.9.0
wasm 3.rs 2830ms 30ms 47.9MB 2800ms 13ms wasmtime 48.0.2
d 1.d 2842ms 6.4ms 312.7MB 2810ms 20ms ldc2 1.43.0
zig 1.zig 2945ms 28ms 49.1MB 2920ms 7ms zig 0.14.1
chapel 3.chpl 3169ms 6.1ms 66.7MB 3147ms 13ms chpl 2.9.0
odin 1.odin 3460ms 34ms 49.6MB 3430ms 13ms odin 2024
go 1-m.go 3946ms 44ms 39.9MB 8090ms 37ms go 1.26.8
swift 1.swift 4602ms 12ms 53.9MB 4573ms 10ms swift 6.1.3
ocaml 1.ml 5051ms 131ms 156.9MB 4967ms 63ms ocaml 5.3.0
haxe 2.hx 6372ms 102ms 497.2MB 7260ms 237ms haxe/cpp 4.3.3
lua 1.lua 6633ms 183ms 291.4MB 6527ms 87ms luajit 2.1.1703358377
php 1.php 10062ms 39ms 111.8MB 10037ms 7ms php 8.3.6
python 1.py 11298ms 16ms 42.2MB 11140ms 137ms cpython 3.12.3
ruby 1.rb 11360ms 112ms 87.8MB 11283ms 57ms ruby 3.2.3
ruby 1.rb 11813ms 6.3ms 87.9MB 11740ms 57ms ruby/yjit 3.2.3
lua 1.lua 16420ms 378ms 152.3MB 16370ms 30ms lua 5.4.6
wren 1.wren 18359ms 175ms 122.3MB 18307ms 37ms wren 0.4.0
perl 1.pl 28055ms 391ms 77.2MB 28003ms 33ms perl 5.38.2

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
nim 2.nim 117ms 20ms 7.3MB 95ms 0ms nim 2.2.4
nim 2.nim 124ms 5.3ms 5.9MB 110ms 0ms nim/clang 2.2.4
javascript 1.js 127ms 3.1ms 40.8MB 153ms 17ms bun 1.4.2
haxe 1.hx 128ms 4.9ms 25.9MB 150ms 7ms haxe/cpp 4.3.3
v 1.v 138ms 4.5ms 19.4MB 120ms 0ms v/clang+gc 0.5.2
rust 5.rs 185ms 4.9ms 5.7MB 173ms 0ms rustc 1.98.1
kotlin 1.kt 188ms 30ms 159.7MB 233ms 30ms kotlin/jvm 21.0.12
javascript 1.js 192ms 4.0ms 81.8MB 210ms 23ms node 24.21.0
java 2.java 192ms 18ms 167.6MB 260ms 27ms openjdk 21.0.12
acton-tip 1.act 201ms 14ms 9.5MB 250ms 10ms acton 0.30.0.20260927.9.45
rust 4.rs 203ms 1.5ms 5.7MB 190ms 0ms rustc 1.98.1
rust 3.rs 205ms 20ms 7.8MB 190ms 0ms rustc 1.98.1
acton 1.act 217ms 5.2ms 9.6MB 273ms 10ms acton 0.30.0
crystal 1.cr 223ms 20ms 9.5MB 207ms 0ms crystal 1.11.2
chapel 4.chpl 254ms 3.1ms 36.7MB 237ms 7ms chpl 2.9.0
wasm 4.rs 256ms 0.8ms 20.1MB 240ms 0ms wasmtime 48.0.2
wasm 5.rs 258ms 2.6ms 18.1MB 240ms 0ms wasmtime 48.0.2
typescript 1.ts 270ms 4.0ms 299.5MB 173ms 123ms deno 2.9.7
zig 1.zig 280ms 53ms 7.1MB 240ms 0ms zig 0.14.1
csharp 1.cs 287ms 27ms 55.0MB 213ms 33ms dotnet 9.0.318
wasm 3.rs 288ms 29ms 20.0MB 270ms 3ms wasmtime 48.0.2
chapel 3.chpl 292ms 6.5ms 34.8MB 267ms 10ms chpl 2.9.0
d 1.d 304ms 39ms 209.6MB 270ms 20ms ldc2 1.43.0
odin 1.odin 329ms 60ms 7.5MB 320ms 0ms odin 2024
go 1.go 350ms 12ms 10.1MB 517ms 7ms go 1.26.8
pony 1.pony 352ms 12ms 220.3MB 167ms 33ms ponyc 0.73.0
julia 4.jl 359ms 19ms 274.0MB 420ms 63ms julia 1.11.9
java 2.java 378ms 84ms 239.8MB 267ms 200ms openjdk/zgc 21.0.12
ocaml 1.ml 379ms 6.4ms 19.3MB 360ms 3ms ocaml 5.3.0
swift 1.swift 395ms 8.4ms 11.8MB 373ms 0ms swift 6.1.3
haxe 2.hx 557ms 7.0ms 58.4MB 620ms 20ms haxe/cpp 4.3.3
lua 1.lua 578ms 29ms 24.9MB 553ms 3ms luajit 2.1.1703358377
dart 1.dart 615ms 12ms 40.9MB 607ms 13ms dart/exe 3.13.4
php 1.php 869ms 39ms 31.1MB 847ms 10ms php 8.3.6
python 1.py 1013ms 82ms 14.0MB 993ms 3ms cpython 3.12.3
ruby 1.rb 1118ms 12ms 30.2MB 1087ms 17ms ruby 3.2.3
ruby 1.rb 1172ms 15ms 30.3MB 1137ms 20ms ruby/yjit 3.2.3
lua 1.lua 1185ms 23ms 17.5MB 1173ms 0ms lua 5.4.6
wren 1.wren 1601ms 19ms 122.2MB 1547ms 37ms wren 0.4.0
perl 1.pl 2485ms 46ms 13.8MB 2467ms 3ms perl 5.38.2