All fannkuch-redux problem benchmarks

Current benchmark data was generated on Tue Mar 25 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 374ms 3.2ms 2.9MB 1423ms 0ms ldc2 1.40.1
cpp 1-im.cpp 400ms 5.5ms 2.6MB 1540ms 0ms g++ 11.4.0
cpp 1-im.cpp 409ms 4.1ms 4.0MB 1590ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 3-im.rs 412ms 1.0ms 2.0MB 1580ms 0ms rustc 1.85.1
rust 5-m.rs 575ms 7.0ms 2.1MB 2190ms 0ms rustc 1.85.1
rust 2-im.rs 623ms 2.8ms 2.0MB 2400ms 0ms rustc 1.85.1
zig 2-m.zig 637ms 0.7ms 1.4MB 2403ms 0ms zig 0.14.0
go 3-m.go 688ms 26ms 3.5MB 2590ms 0ms go 1.24.1
java 1-m.java 894ms 11ms 95.4MB 3297ms 43ms graal/jvm 17.0.8
java 1-m.java 974ms 4.1ms 48.1MB 3630ms 23ms openjdk 21
java 1-m.java 991ms 2.3ms 50.2MB 3637ms 23ms openjdk 23
rust 1-m.rs 994ms 7.8ms 2.1MB 3783ms 0ms rustc 1.85.1
java 1-m.java 1026ms 24ms 45.7MB 3350ms 143ms openjdk/zgc 21
d 2-im.d 1118ms 5.5ms 3.1MB 4320ms 0ms ldc2 1.40.1
d 1-i.d 1486ms 1.8ms 2.9MB 1480ms 0ms ldc2 1.40.1
rust 3-i.rs 1500ms 1.0ms 1.9MB 1490ms 0ms rustc 1.85.1
rust 2-i.rs 1765ms 5.9ms 1.8MB 1757ms 0ms rustc 1.85.1
zig 3-i.zig 1766ms 4.1ms 1.0MB 1753ms 0ms zig 0.14.0
go 3.go 2017ms 0.3ms 48.6MB 1997ms 7ms tinygo 0.37.0
v 1.v 2201ms 3.6ms 1.9MB 2193ms 0ms v/clang+gc 0.4.10
v 1.v 2314ms 95ms 1.1MB 2303ms 0ms v/clang 0.4.10
swift 1.swift 2483ms 17ms 5.6MB 2473ms 0ms swift 6.0.3
crystal 1.cr 2508ms 6.1ms 2.8MB 2493ms 0ms crystal 1.15.1
rust 1.rs 2681ms 4.0ms 1.8MB 2673ms 0ms rustc 1.85.1
dart 2.dart 2713ms 10ms 6.1MB 2700ms 0ms dart/exe 3.7.2
zig 1.zig 2713ms 3.8ms 1.0MB 2707ms 0ms zig 0.14.0
ocaml 2.ml 2918ms 4.8ms 4.9MB 2910ms 0ms ocaml 5.3.0
d 1.d 3116ms 13ms 2.9MB 3107ms 0ms ldc2 1.40.1
d 2-i.d 3239ms 1.2ms 2.9MB 3230ms 0ms ldc2 1.40.1
d 1.d 3554ms 9.4ms 4.6MB 3543ms 0ms dmd 2.110.0
wasm 1.rs 4291ms 13ms 16.7MB 4277ms 0ms wasmtime 31.0.0
d 1-im.d 4461ms 10ms 4.8MB 17470ms 7ms dmd 2.110.0
d 1-i.d timeout 0.0ms 4.5MB 4990ms 0ms dmd 2.110.0
d 2-i.d timeout 0.0ms 4.6MB 4990ms 0ms dmd 2.110.0
d 2-im.d timeout 0.0ms 4.9MB 19733ms 3ms dmd 2.110.0

Input: 10

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 1-im.d 37ms 0.1ms 3.0MB 110ms 0ms ldc2 1.40.1
rust 3-im.rs 38ms 0.5ms 2.1MB 120ms 0ms rustc 1.85.1
cpp 1-im.cpp 41ms 1.5ms 2.6MB 133ms 0ms g++ 11.4.0
cpp 1-im.cpp 42ms 0.4ms 4.0MB 140ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 5-m.rs 54ms 1.6ms 2.0MB 177ms 0ms rustc 1.85.1
zig 2-m.zig 60ms 0.8ms 1.4MB 200ms 0ms zig 0.14.0
rust 2-im.rs 61ms 0.7ms 2.0MB 200ms 0ms rustc 1.85.1
go 3-m.go 74ms 0.4ms 5.6MB 197ms 0ms go 1.24.1
rust 1-m.rs 90ms 1.9ms 2.1MB 313ms 0ms rustc 1.85.1
d 2-im.d 98ms 2.1ms 3.1MB 350ms 0ms ldc2 1.40.1
rust 3-i.rs 126ms 0.9ms 1.9MB 120ms 0ms rustc 1.85.1
d 1-i.d 126ms 2.3ms 2.9MB 120ms 0ms ldc2 1.40.1
zig 3-i.zig 148ms 0.2ms 1.0MB 140ms 0ms zig 0.14.0
rust 2-i.rs 149ms 0.7ms 1.8MB 140ms 0ms rustc 1.85.1
java 1-m.java 182ms 6.0ms 48.3MB 493ms 27ms openjdk 21
v 1.v 188ms 1.5ms 1.9MB 180ms 0ms v/clang+gc 0.4.10
v 1.v 193ms 2.3ms 1.1MB 180ms 0ms v/clang 0.4.10
go 3.go 194ms 0.5ms 49.0MB 173ms 3ms tinygo 0.37.0
java 1-m.java 195ms 3.7ms 50.0MB 510ms 20ms openjdk 23
crystal 1.cr 207ms 1.2ms 2.8MB 200ms 0ms crystal 1.15.1
java 1-m.java 210ms 15ms 96.2MB 583ms 43ms graal/jvm 17.0.8
swift 1.swift 214ms 1.8ms 6.3MB 207ms 0ms swift 6.0.3
dart 2.dart 222ms 2.7ms 6.3MB 213ms 0ms dart/exe 3.7.2
rust 1.rs 227ms 1.5ms 1.8MB 217ms 0ms rustc 1.85.1
zig 1.zig 230ms 0.3ms 1.0MB 220ms 0ms zig 0.14.0
ocaml 2.ml 245ms 1.4ms 4.9MB 237ms 0ms ocaml 5.3.0
d 1.d 265ms 2.7ms 2.9MB 257ms 0ms ldc2 1.40.1
d 2-i.d 268ms 0.7ms 2.9MB 260ms 0ms ldc2 1.40.1
d 1.d 297ms 1.1ms 4.6MB 290ms 0ms dmd 2.110.0
java 1-m.java 307ms 8.3ms 46.8MB 500ms 143ms openjdk/zgc 21
wasm 1.rs 357ms 0.8ms 16.8MB 343ms 0ms wasmtime 31.0.0
d 1-im.d 376ms 5.0ms 4.9MB 1430ms 0ms dmd 2.110.0
d 2-im.d 526ms 1.6ms 4.9MB 2010ms 0ms dmd 2.110.0
d 1-i.d 857ms 5.5ms 4.5MB 847ms 0ms dmd 2.110.0
d 2-i.d 1387ms 14ms 4.6MB 1377ms 0ms dmd 2.110.0