All fannkuch-redux problem benchmarks

Current benchmark data was generated on Mon Apr 14 2025, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1)

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

fannkuch-redux

Input: 11

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-im.d 375ms 7.3ms 3.0MB 1420ms 0ms ldc2 1.40.1
cpp 1-im.cpp 396ms 7.9ms 2.6MB 1530ms 0ms g++ 11.4.0
cpp 1-im.cpp 405ms 5.0ms 4.0MB 1567ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 3-im.rs 410ms 0.5ms 2.0MB 1573ms 0ms rustc 1.86.0
rust 5-m.rs 579ms 12ms 2.1MB 2190ms 0ms rustc 1.86.0
rust 2-im.rs 627ms 5.0ms 2.1MB 2440ms 0ms rustc 1.86.0
zig 2-m.zig 631ms 8.0ms 1.4MB 2400ms 0ms zig 0.14.0
go 3-m.go 727ms 1.8ms 5.5MB 2810ms 0ms go 1.24.2
java 1-m.java 911ms 6.0ms 96.1MB 3347ms 33ms graal/jvm 17.0.8
java 1-m.java 953ms 33ms 48.3MB 3547ms 20ms openjdk 21
rust 1-m.rs 970ms 5.3ms 2.1MB 3770ms 0ms rustc 1.86.0
java 1-m.java 980ms 19ms 51.0MB 3597ms 23ms openjdk 23
java 1-m.java 1046ms 9.7ms 45.8MB 3413ms 143ms openjdk/zgc 21
d 2-im.d 1128ms 21ms 2.9MB 4313ms 0ms ldc2 1.40.1
d 1-i.d 1484ms 0.3ms 2.8MB 1470ms 0ms ldc2 1.40.1
rust 3-i.rs 1508ms 2.6ms 1.9MB 1497ms 0ms rustc 1.86.0
rust 2-i.rs 1759ms 2.8ms 1.8MB 1750ms 0ms rustc 1.86.0
zig 3-i.zig 1768ms 2.0ms 1.0MB 1760ms 0ms zig 0.14.0
go 3.go 2004ms 3.4ms 48.9MB 1983ms 3ms tinygo 0.37.0
v 1.v 2235ms 1.8ms 1.9MB 2223ms 0ms v/clang+gc 0.4.10
v 1.v 2259ms 4.6ms 1.1MB 2253ms 0ms v/clang 0.4.10
crystal 1.cr 2465ms 3.2ms 2.8MB 2457ms 0ms crystal 1.16.0
swift 1.swift 2491ms 11ms 5.5MB 2480ms 0ms swift 6.1.0
rust 1.rs 2692ms 4.5ms 1.8MB 2683ms 0ms rustc 1.86.0
zig 1.zig 2714ms 7.8ms 1.1MB 2707ms 0ms zig 0.14.0
dart 2.dart 2725ms 4.7ms 6.3MB 2717ms 0ms dart/exe 3.7.2
ocaml 2.ml 2917ms 2.7ms 4.9MB 2907ms 0ms ocaml 5.3.0
d 1.d 3120ms 15ms 2.9MB 3110ms 0ms ldc2 1.40.1
d 2-i.d 3240ms 3.2ms 2.9MB 3230ms 0ms ldc2 1.40.1
d 1.d 3532ms 4.1ms 4.6MB 3523ms 0ms dmd 2.111.0
wasm 1.rs 4206ms 2.3ms 16.7MB 4190ms 0ms wasmtime 31.0.0
d 1-im.d 4474ms 19ms 4.9MB 17573ms 0ms dmd 2.111.0
d 1-i.d timeout 0.0ms 4.6MB 4990ms 0ms dmd 2.111.0
d 2-i.d timeout 0.0ms 4.5MB 4990ms 0ms dmd 2.111.0
d 2-im.d timeout 0.0ms 4.9MB 19740ms 3ms dmd 2.111.0

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-im.d 38ms 0.5ms 3.0MB 110ms 0ms ldc2 1.40.1
rust 3-im.rs 38ms 0.5ms 2.1MB 120ms 0ms rustc 1.86.0
cpp 1-im.cpp 39ms 0.3ms 2.6MB 130ms 0ms g++ 11.4.0
cpp 1-im.cpp 39ms 0.2ms 3.9MB 130ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 5-m.rs 53ms 1.1ms 2.0MB 173ms 0ms rustc 1.86.0
rust 2-im.rs 60ms 1.3ms 2.0MB 200ms 0ms rustc 1.86.0
zig 2-m.zig 60ms 1.2ms 1.4MB 200ms 0ms zig 0.14.0
go 3-m.go 76ms 1.0ms 5.6MB 207ms 0ms go 1.24.2
rust 1-m.rs 87ms 0.9ms 2.0MB 300ms 0ms rustc 1.86.0
d 2-im.d 99ms 2.1ms 2.9MB 350ms 0ms ldc2 1.40.1
d 1-i.d 124ms 0.3ms 2.9MB 117ms 0ms ldc2 1.40.1
rust 3-i.rs 127ms 0.8ms 1.9MB 120ms 0ms rustc 1.86.0
zig 3-i.zig 148ms 1.0ms 1.0MB 140ms 0ms zig 0.14.0
rust 2-i.rs 150ms 0.8ms 1.8MB 140ms 0ms rustc 1.86.0
java 1-m.java 184ms 2.3ms 48.2MB 500ms 20ms openjdk 21
v 1.v 190ms 2.6ms 1.9MB 180ms 0ms v/clang+gc 0.4.10
go 3.go 191ms 1.3ms 48.1MB 163ms 13ms tinygo 0.37.0
v 1.v 193ms 1.3ms 1.1MB 180ms 0ms v/clang 0.4.10
java 1-m.java 197ms 4.9ms 96.2MB 543ms 40ms graal/jvm 17.0.8
java 1-m.java 199ms 6.2ms 50.0MB 510ms 23ms openjdk 23
crystal 1.cr 204ms 1.4ms 2.8MB 190ms 0ms crystal 1.16.0
swift 1.swift 213ms 3.7ms 6.3MB 203ms 0ms swift 6.1.0
dart 2.dart 223ms 3.1ms 6.3MB 210ms 0ms dart/exe 3.7.2
zig 1.zig 229ms 0.7ms 1.0MB 220ms 0ms zig 0.14.0
rust 1.rs 229ms 0.2ms 1.9MB 220ms 0ms rustc 1.86.0
ocaml 2.ml 249ms 3.0ms 4.9MB 240ms 0ms ocaml 5.3.0
d 1.d 262ms 1.9ms 2.9MB 253ms 0ms ldc2 1.40.1
d 2-i.d 268ms 0.7ms 2.9MB 260ms 0ms ldc2 1.40.1
d 1.d 295ms 1.1ms 4.6MB 287ms 0ms dmd 2.111.0
java 1-m.java 312ms 5.2ms 45.8MB 507ms 143ms openjdk/zgc 21
wasm 1.rs 355ms 3.1ms 16.8MB 340ms 0ms wasmtime 31.0.0
d 1-im.d 375ms 3.7ms 4.8MB 1433ms 0ms dmd 2.111.0
d 2-im.d 528ms 7.3ms 4.9MB 2010ms 0ms dmd 2.111.0
d 1-i.d 893ms 3.1ms 4.5MB 883ms 0ms dmd 2.111.0
d 2-i.d 1384ms 18ms 4.6MB 1373ms 0ms dmd 2.111.0