All edigits problem benchmarks

Current benchmark data was generated on Sun Jun 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.5MB 40ms 0ms crystal 1.16.3
chapel 1.chpl 71ms 1.5ms 32.5MB 70ms 0ms chpl 1.31.0
go 1.go 117ms 0.4ms 8.8MB 110ms 0ms go 1.24.3
rust 1.rs 121ms 2.9ms 3.6MB 113ms 0ms rustc 1.87.0
acton 1.act 220ms 2.2ms 8.0MB 197ms 33ms actonc 0.25.0
python 1.py 251ms 2.2ms 83.2MB 213ms 23ms pypy 3.10.16
javascript 1.js 278ms 1.0ms 66.7MB 293ms 23ms node 24.1.0
python 1.py 358ms 2.4ms 12.7MB 347ms 0ms cpython 3.13.3
rust 2.rs 415ms 1.7ms 3.6MB 407ms 0ms rustc 1.87.0
wasm 1.rs 416ms 1.6ms 19.6MB 403ms 0ms wasmtime 33.0.0
javascript 1.js 517ms 2.3ms 76.2MB 493ms 17ms bun 1.2.15
java 1-m.java 585ms 85ms 265.5MB 1613ms 70ms openjdk 21
java 1-m.java 604ms 11ms 359.6MB 1167ms 110ms graal/jvm 17.0.8
java 1-m.java 636ms 55ms 237.0MB 1717ms 70ms openjdk 23
java 1-m.java 970ms 31ms 534.8MB 1663ms 407ms openjdk/zgc 21
python 1.py 2006ms 9.8ms 9.6MB 1993ms 0ms pyston 3.8.12
zig 1.zig 2257ms 7.3ms 2.5MB 2230ms 10ms zig 0.14.1
d 1.d 2549ms 1.1ms 8.1MB 2540ms 0ms ldc2 1.40.1
d 1.d 2868ms 1.6ms 10.5MB 2853ms 3ms dmd 2.111.0
dart 1.dart 3582ms 14ms 18.0MB 3550ms 23ms dart/exe 3.8.1
csharp 1.cs 4081ms 3.3ms 18.6MB 4057ms 10ms dotnet/aot 9.0.300
csharp 1.cs 4963ms 16ms 37.8MB 4927ms 17ms dotnet 9.0.300
v 1.v timeout 0.0ms 8.3MB 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.4ms 5.3MB 10ms 0ms crystal 1.16.3
chapel 1.chpl 33ms 2.6ms 30.5MB 30ms 0ms chpl 1.31.0
go 1.go 34ms 1.3ms 8.4MB 27ms 0ms go 1.24.3
rust 1.rs 34ms 1.8ms 2.9MB 30ms 0ms rustc 1.87.0
rust 2.rs 77ms 1.3ms 3.0MB 70ms 0ms rustc 1.87.0
acton 1.act 77ms 8.3ms 6.0MB 57ms 20ms actonc 0.25.0
python 1.py 100ms 0.5ms 63.4MB 73ms 13ms pypy 3.10.16
wasm 1.rs 114ms 2.6ms 19.0MB 100ms 0ms wasmtime 33.0.0
javascript 1.js 120ms 1.1ms 62.8MB 110ms 13ms node 24.1.0
python 1.py 139ms 54ms 12.4MB 100ms 0ms cpython 3.13.3
java 1-m.java 301ms 6.0ms 225.7MB 600ms 63ms graal/jvm 17.0.8
python 1.py 349ms 2.4ms 8.8MB 330ms 0ms pyston 3.8.12
java 1-m.java 360ms 33ms 177.9MB 983ms 50ms openjdk 21
java 1-m.java 367ms 17ms 111.4MB 1000ms 50ms openjdk 23
zig 1.zig 384ms 5.4ms 1.9MB 370ms 0ms zig 0.14.1
d 1.d 443ms 0.4ms 8.0MB 430ms 0ms ldc2 1.40.1
javascript 1.js 508ms 1.3ms 65.6MB 487ms 20ms bun 1.2.15
d 1.d 516ms 0.7ms 10.4MB 503ms 0ms dmd 2.111.0
java 1-m.java 537ms 14ms 215.4MB 1073ms 227ms openjdk/zgc 21
dart 1.dart 589ms 2.0ms 10.5MB 567ms 13ms dart/exe 3.8.1
csharp 1.cs 682ms 5.7ms 14.6MB 663ms 0ms dotnet/aot 9.0.300
csharp 1.cs 867ms 15ms 33.6MB 847ms 10ms dotnet 9.0.300
v 1.v timeout 0.0ms 4.8MB 4990ms 0ms v/clang+gc 0.4.10