All fannkuch-redux problem benchmarks

Current benchmark data was generated on Tue Apr 01 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 6.2ms 3.0MB 1430ms 0ms ldc2 1.40.1
cpp 1-im.cpp 402ms 2.0ms 2.5MB 1547ms 0ms g++ 11.4.0
cpp 1-im.cpp 408ms 6.6ms 3.9MB 1577ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 3-im.rs 410ms 2.4ms 2.1MB 1577ms 0ms rustc 1.85.1
rust 5-m.rs 571ms 5.2ms 2.0MB 2193ms 0ms rustc 1.85.1
rust 2-im.rs 627ms 5.5ms 2.0MB 2410ms 0ms rustc 1.85.1
zig 2-m.zig 629ms 5.7ms 1.4MB 2390ms 0ms zig 0.14.0
go 3-m.go 673ms 0.8ms 3.5MB 2597ms 0ms go 1.24.1
java 1-m.java 899ms 11ms 95.9MB 3313ms 40ms graal/jvm 17.0.8
java 1-m.java 955ms 65ms 49.0MB 3507ms 23ms openjdk 21
rust 1-m.rs 977ms 9.9ms 2.1MB 3773ms 0ms rustc 1.85.1
java 1-m.java 988ms 5.4ms 50.3MB 3637ms 27ms openjdk 23
java 1-m.java 1035ms 2.7ms 45.8MB 3383ms 150ms openjdk/zgc 21
d 2-im.d 1116ms 3.8ms 3.0MB 4320ms 0ms ldc2 1.40.1
d 1-i.d 1484ms 1.3ms 2.9MB 1473ms 0ms ldc2 1.40.1
rust 3-i.rs 1500ms 2.2ms 1.9MB 1490ms 0ms rustc 1.85.1
rust 2-i.rs 1760ms 2.0ms 1.8MB 1750ms 0ms rustc 1.85.1
zig 3-i.zig 1763ms 1.6ms 1.0MB 1753ms 0ms zig 0.14.0
go 3.go 2018ms 1.1ms 49.0MB 2000ms 7ms tinygo 0.37.0
v 1.v 2206ms 8.5ms 1.9MB 2197ms 0ms v/clang+gc 0.4.10
v 1.v 2253ms 4.9ms 1.1MB 2247ms 0ms v/clang 0.4.10
swift 1.swift 2470ms 5.4ms 5.6MB 2460ms 0ms swift 6.0.3
crystal 1.cr 2504ms 1.5ms 2.8MB 2497ms 0ms crystal 1.15.1
rust 1.rs 2692ms 5.3ms 1.8MB 2683ms 0ms rustc 1.85.1
zig 1.zig 2717ms 2.1ms 1.0MB 2710ms 0ms zig 0.14.0
dart 2.dart 2718ms 16ms 6.3MB 2710ms 0ms dart/exe 3.7.2
ocaml 2.ml 2911ms 6.9ms 4.9MB 2903ms 0ms ocaml 5.3.0
d 1.d 3117ms 14ms 2.9MB 3110ms 0ms ldc2 1.40.1
d 2-i.d 3237ms 1.8ms 2.9MB 3227ms 0ms ldc2 1.40.1
d 1.d 3562ms 12ms 4.6MB 3550ms 0ms dmd 2.110.0
wasm 1.rs 4154ms 12ms 16.7MB 4137ms 0ms wasmtime 31.0.0
d 1-im.d 4472ms 33ms 4.9MB 17553ms 10ms 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.5MB 4990ms 0ms dmd 2.110.0
d 2-im.d timeout 0.0ms 4.9MB 19697ms 7ms 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.5ms 3.1MB 110ms 0ms ldc2 1.40.1
rust 3-im.rs 38ms 0.2ms 2.1MB 123ms 0ms rustc 1.85.1
cpp 1-im.cpp 39ms 0.1ms 2.6MB 130ms 0ms g++ 11.4.0
cpp 1-im.cpp 41ms 1.9ms 3.9MB 127ms 0ms clang++ 14.0.0-1ubuntu1.1
rust 5-m.rs 55ms 2.1ms 2.0MB 177ms 0ms rustc 1.85.1
zig 2-m.zig 59ms 1.2ms 1.4MB 200ms 0ms zig 0.14.0
rust 2-im.rs 60ms 0.2ms 2.1MB 200ms 0ms rustc 1.85.1
go 3-m.go 73ms 0.5ms 5.5MB 200ms 0ms go 1.24.1
rust 1-m.rs 87ms 1.2ms 2.1MB 310ms 0ms rustc 1.85.1
d 2-im.d 99ms 0.1ms 3.0MB 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 126ms 1.6ms 1.9MB 120ms 0ms rustc 1.85.1
zig 3-i.zig 147ms 0.1ms 1.1MB 140ms 0ms zig 0.14.0
rust 2-i.rs 150ms 1.0ms 1.8MB 140ms 0ms rustc 1.85.1
java 1-m.java 177ms 4.1ms 48.6MB 473ms 27ms openjdk 21
v 1.v 188ms 2.2ms 1.9MB 180ms 0ms v/clang+gc 0.4.10
go 3.go 191ms 1.6ms 49.2MB 173ms 3ms tinygo 0.37.0
v 1.v 194ms 1.8ms 1.1MB 187ms 0ms v/clang 0.4.10
java 1-m.java 194ms 12ms 95.8MB 533ms 37ms graal/jvm 17.0.8
java 1-m.java 199ms 4.2ms 50.1MB 520ms 23ms openjdk 23
crystal 1.cr 207ms 1.1ms 2.8MB 200ms 0ms crystal 1.15.1
swift 1.swift 211ms 0.6ms 5.6MB 200ms 0ms swift 6.0.3
dart 2.dart 224ms 3.1ms 6.3MB 213ms 0ms dart/exe 3.7.2
rust 1.rs 229ms 0.4ms 1.8MB 220ms 0ms rustc 1.85.1
zig 1.zig 230ms 0.5ms 1.0MB 220ms 0ms zig 0.14.0
ocaml 2.ml 248ms 4.4ms 4.9MB 237ms 0ms ocaml 5.3.0
d 1.d 263ms 2.2ms 2.9MB 253ms 0ms ldc2 1.40.1
d 2-i.d 268ms 0.9ms 2.8MB 260ms 0ms ldc2 1.40.1
d 1.d 299ms 0.4ms 4.6MB 290ms 0ms dmd 2.110.0
java 1-m.java 310ms 7.3ms 46.1MB 520ms 140ms openjdk/zgc 21
wasm 1.rs 353ms 4.0ms 17.2MB 340ms 0ms wasmtime 31.0.0
d 1-im.d 378ms 1.1ms 5.0MB 1437ms 0ms dmd 2.110.0
d 2-im.d 524ms 1.1ms 5.0MB 2000ms 3ms dmd 2.110.0
d 1-i.d 867ms 10ms 4.5MB 853ms 0ms dmd 2.110.0
d 2-i.d 1368ms 16ms 4.6MB 1360ms 0ms dmd 2.110.0