All edigits problem benchmarks

Current benchmark data was generated on Thu May 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.)

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 57ms 0.6ms 6.4MB 40ms 0ms crystal 1.16.2
chapel 1.chpl 74ms 1.0ms 32.5MB 70ms 0ms chpl 1.31.0
rust 1.rs 116ms 0.2ms 3.6MB 110ms 0ms rustc 1.86.0
go 1.go 117ms 2.3ms 8.6MB 110ms 0ms go 1.24.2
acton 1.act 231ms 12ms 8.1MB 207ms 40ms actonc 0.25.0
python 1.py 254ms 1.8ms 83.3MB 213ms 27ms pypy 3.10.16
javascript 1.js 271ms 3.9ms 63.7MB 287ms 23ms node 23.11.0
python 1.py 358ms 0.5ms 12.7MB 343ms 0ms cpython 3.13.3
wasm 1.rs 421ms 3.5ms 19.4MB 407ms 0ms wasmtime 32.0.0
rust 2.rs 422ms 2.6ms 3.6MB 410ms 0ms rustc 1.86.0
javascript 1.js 522ms 4.8ms 77.6MB 497ms 20ms bun 1.2.11
java 1-m.java 581ms 19ms 279.4MB 1593ms 77ms openjdk 21
java 1-m.java 614ms 20ms 395.5MB 1180ms 120ms graal/jvm 17.0.8
java 1-m.java 646ms 62ms 236.6MB 1720ms 80ms openjdk 23
java 1-m.java 958ms 42ms 533.5MB 1653ms 420ms openjdk/zgc 21
python 1.py 2007ms 3.8ms 9.6MB 1993ms 0ms pyston 3.8.12
zig 1.zig 2257ms 3.8ms 2.5MB 2227ms 17ms zig 0.14.0
d 1.d 2553ms 5.1ms 8.1MB 2537ms 0ms ldc2 1.40.1
d 1.d 2867ms 3.5ms 10.5MB 2853ms 3ms dmd 2.111.0
dart 1.dart 3681ms 2.9ms 18.0MB 3650ms 27ms dart/exe 3.7.3
csharp 1.cs 4174ms 6.8ms 18.4MB 4150ms 10ms dotnet/aot 9.0.203
csharp 1.cs 4970ms 26ms 37.8MB 4940ms 17ms dotnet 9.0.203
v 1.v timeout 0.0ms 8.5MB 4990ms 0ms v/clang+gc 0.4.10

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 23ms 1.1ms 5.1MB 10ms 0ms crystal 1.16.2
rust 1.rs 33ms 1.1ms 2.9MB 27ms 0ms rustc 1.86.0
chapel 1.chpl 34ms 0.7ms 30.5MB 30ms 0ms chpl 1.31.0
go 1.go 35ms 0.5ms 8.2MB 30ms 0ms go 1.24.2
rust 2.rs 76ms 0.0ms 3.0MB 70ms 0ms rustc 1.86.0
acton 1.act 90ms 15ms 6.0MB 73ms 13ms actonc 0.25.0
python 1.py 101ms 2.1ms 63.4MB 77ms 13ms pypy 3.10.16
python 1.py 110ms 2.3ms 11.6MB 97ms 0ms cpython 3.13.3
wasm 1.rs 115ms 2.5ms 18.8MB 100ms 0ms wasmtime 32.0.0
javascript 1.js 124ms 0.7ms 61.4MB 143ms 17ms node 23.11.0
java 1-m.java 323ms 18ms 236.1MB 627ms 77ms graal/jvm 17.0.8
java 1-m.java 339ms 19ms 178.3MB 920ms 53ms openjdk 21
python 1.py 347ms 0.6ms 8.8MB 340ms 0ms pyston 3.8.12
java 1-m.java 361ms 20ms 127.5MB 967ms 57ms openjdk 23
zig 1.zig 382ms 3.2ms 1.9MB 363ms 3ms zig 0.14.0
d 1.d 442ms 1.8ms 8.1MB 430ms 0ms ldc2 1.40.1
javascript 1.js 500ms 3.0ms 67.6MB 477ms 20ms bun 1.2.11
d 1.d 519ms 3.3ms 10.4MB 510ms 0ms dmd 2.111.0
java 1-m.java 525ms 21ms 215.0MB 1033ms 227ms openjdk/zgc 21
dart 1.dart 608ms 14ms 10.0MB 587ms 13ms dart/exe 3.7.3
csharp 1.cs 690ms 2.1ms 14.5MB 673ms 0ms dotnet/aot 9.0.203
csharp 1.cs 866ms 5.7ms 33.9MB 843ms 10ms dotnet 9.0.203
v 1.v timeout 0.0ms 4.6MB 4990ms 0ms v/clang+gc 0.4.10