All edigits problem benchmarks

Current benchmark data was generated on Mon May 19 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 59ms 1.7ms 6.5MB 43ms 0ms crystal 1.16.3
chapel 1.chpl 71ms 1.6ms 32.5MB 70ms 0ms chpl 1.31.0
go 1.go 118ms 0.8ms 10.2MB 110ms 0ms go 1.24.3
rust 1.rs 124ms 1.5ms 3.6MB 120ms 0ms rustc 1.87.0
acton 1.act 226ms 10.0ms 8.0MB 207ms 30ms actonc 0.25.0
python 1.py 252ms 4.6ms 83.0MB 217ms 20ms pypy 3.10.16
javascript 1.js 285ms 5.4ms 66.5MB 297ms 27ms node 24.0.2
python 1.py 361ms 2.9ms 12.7MB 347ms 0ms cpython 3.13.3
wasm 1.rs 420ms 2.0ms 19.4MB 407ms 0ms wasmtime 32.0.0
rust 2.rs 421ms 2.7ms 3.6MB 410ms 0ms rustc 1.87.0
javascript 1.js 520ms 3.2ms 75.8MB 493ms 20ms bun 1.2.13
java 1-m.java 603ms 8.3ms 352.7MB 1180ms 97ms graal/jvm 17.0.8
java 1-m.java 611ms 69ms 263.9MB 1673ms 67ms openjdk 21
java 1-m.java 642ms 55ms 231.5MB 1707ms 73ms openjdk 23
java 1-m.java 949ms 34ms 528.2MB 1633ms 413ms openjdk/zgc 21
python 1.py 2016ms 25ms 9.6MB 2003ms 0ms pyston 3.8.12
zig 1.zig 2263ms 1.7ms 2.5MB 2237ms 10ms zig 0.14.0
d 1.d 2552ms 4.9ms 8.2MB 2540ms 0ms ldc2 1.40.1
d 1.d 2864ms 4.6ms 10.4MB 2853ms 0ms dmd 2.111.0
dart 1.dart 3690ms 7.6ms 18.4MB 3657ms 30ms dart/exe 3.7.3
csharp 1.cs 4097ms 4.2ms 18.3MB 4073ms 10ms dotnet/aot 9.0.300
csharp 1.cs 4958ms 17ms 37.6MB 4930ms 20ms dotnet 9.0.300
v 1.v timeout 0.0ms 8.4MB 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 22ms 1.6ms 5.1MB 10ms 0ms crystal 1.16.3
chapel 1.chpl 33ms 3.0ms 30.5MB 30ms 0ms chpl 1.31.0
rust 1.rs 33ms 0.7ms 2.9MB 23ms 0ms rustc 1.87.0
go 1.go 35ms 1.6ms 8.2MB 30ms 0ms go 1.24.3
rust 2.rs 77ms 2.2ms 3.0MB 70ms 0ms rustc 1.87.0
acton 1.act 82ms 15ms 5.8MB 63ms 13ms actonc 0.25.0
python 1.py 101ms 1.7ms 63.6MB 73ms 13ms pypy 3.10.16
python 1.py 108ms 1.3ms 11.5MB 97ms 0ms cpython 3.13.3
wasm 1.rs 114ms 1.7ms 19.0MB 100ms 0ms wasmtime 32.0.0
javascript 1.js 127ms 2.1ms 62.6MB 113ms 17ms node 24.0.2
java 1-m.java 305ms 0.9ms 225.8MB 607ms 63ms graal/jvm 17.0.8
java 1-m.java 330ms 3.5ms 176.0MB 903ms 50ms openjdk 21
python 1.py 348ms 1.4ms 8.8MB 340ms 0ms pyston 3.8.12
zig 1.zig 379ms 2.2ms 1.9MB 363ms 0ms zig 0.14.0
java 1-m.java 385ms 22ms 110.7MB 1043ms 50ms openjdk 23
d 1.d 443ms 3.5ms 8.0MB 433ms 0ms ldc2 1.40.1
javascript 1.js 499ms 1.6ms 65.8MB 480ms 17ms bun 1.2.13
java 1-m.java 509ms 21ms 215.5MB 1010ms 207ms openjdk/zgc 21
d 1.d 518ms 2.7ms 10.5MB 507ms 0ms dmd 2.111.0
dart 1.dart 603ms 1.9ms 10.5MB 583ms 13ms dart/exe 3.7.3
csharp 1.cs 679ms 2.3ms 14.5MB 660ms 7ms dotnet/aot 9.0.300
csharp 1.cs 869ms 4.4ms 33.8MB 847ms 10ms dotnet 9.0.300
v 1.v timeout 0.0ms 4.8MB 4990ms 0ms v/clang+gc 0.4.10