All edigits problem benchmarks

Current benchmark data was generated on Sun Jul 13 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.2ms 7.6MB 40ms 3ms crystal 1.16.3
chapel 1.chpl 71ms 3.0ms 32.5MB 70ms 0ms chpl 1.31.0
go 1.go 117ms 2.1ms 8.4MB 107ms 0ms go 1.24.5
rust 1.rs 124ms 0.9ms 3.6MB 113ms 0ms rustc 1.88.0
acton 1.act 224ms 8.4ms 8.1MB 207ms 27ms actonc 0.26.0
python 1.py 266ms 3.3ms 84.9MB 227ms 20ms pypy 3.11.13
javascript 1.js 278ms 4.4ms 67.5MB 290ms 27ms node 24.4.0
python 1.py 362ms 3.7ms 12.6MB 347ms 0ms cpython 3.13.5
wasm 1.rs 420ms 3.1ms 19.6MB 407ms 0ms wasmtime 34.0.1
rust 2.rs 421ms 1.5ms 3.6MB 410ms 0ms rustc 1.88.0
javascript 1.js 518ms 1.5ms 75.6MB 490ms 23ms bun 1.2.18
java 1-m.java 555ms 15ms 273.6MB 1557ms 70ms openjdk 21
java 1-m.java 623ms 13ms 381.7MB 1183ms 123ms graal/jvm 17.0.8
java 1-m.java 641ms 58ms 267.1MB 1720ms 63ms openjdk 23
java 1-m.java 950ms 37ms 500.2MB 1577ms 403ms openjdk/zgc 21
python 1.py 2007ms 3.9ms 9.6MB 1993ms 0ms pyston 3.8.12
zig 1.zig 2260ms 7.9ms 2.5MB 2237ms 10ms zig 0.14.1
d 1.d 2551ms 4.2ms 8.1MB 2540ms 0ms ldc2 1.41.0
d 1.d 2867ms 4.2ms 10.3MB 2857ms 0ms dmd 2.111.0
dart 1.dart 3567ms 3.2ms 18.0MB 3530ms 27ms dart/exe 3.8.1
csharp 1.cs 4089ms 6.5ms 18.6MB 4063ms 10ms dotnet/aot 9.0.302
csharp 1.cs 4970ms 3.7ms 37.8MB 4943ms 20ms dotnet 9.0.302
v 1.v timeout 0.0ms 8.0MB 4990ms 0ms v/clang+gc 0.4.11

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 23ms 0.9ms 5.3MB 10ms 0ms crystal 1.16.3
chapel 1.chpl 33ms 1.6ms 30.5MB 30ms 0ms chpl 1.31.0
go 1.go 35ms 1.1ms 8.2MB 30ms 0ms go 1.24.5
rust 1.rs 35ms 1.0ms 2.9MB 30ms 0ms rustc 1.88.0
acton 1.act 76ms 3.4ms 6.0MB 60ms 17ms actonc 0.26.0
rust 2.rs 77ms 1.2ms 3.0MB 70ms 0ms rustc 1.88.0
python 1.py 113ms 2.9ms 65.3MB 87ms 13ms pypy 3.11.13
wasm 1.rs 114ms 1.7ms 19.0MB 100ms 0ms wasmtime 34.0.1
javascript 1.js 126ms 2.6ms 63.6MB 117ms 13ms node 24.4.0
python 1.py 134ms 46ms 12.3MB 100ms 0ms cpython 3.13.5
java 1-m.java 305ms 11ms 226.1MB 607ms 67ms graal/jvm 17.0.8
python 1.py 349ms 2.6ms 8.8MB 340ms 0ms pyston 3.8.12
java 1-m.java 355ms 28ms 177.9MB 977ms 43ms openjdk 21
java 1-m.java 375ms 23ms 127.9MB 1017ms 50ms openjdk 23
zig 1.zig 382ms 1.1ms 1.9MB 367ms 3ms zig 0.14.1
d 1.d 441ms 0.9ms 8.1MB 430ms 0ms ldc2 1.41.0
java 1-m.java 508ms 21ms 215.5MB 1010ms 213ms openjdk/zgc 21
javascript 1.js 511ms 2.2ms 65.1MB 483ms 20ms bun 1.2.18
d 1.d 521ms 1.5ms 10.4MB 510ms 0ms dmd 2.111.0
dart 1.dart 590ms 2.3ms 10.0MB 563ms 17ms dart/exe 3.8.1
csharp 1.cs 679ms 3.5ms 14.6MB 660ms 3ms dotnet/aot 9.0.302
csharp 1.cs 865ms 3.0ms 33.8MB 843ms 10ms dotnet 9.0.302
v 1.v timeout 0.0ms 4.5MB 4990ms 0ms v/clang+gc 0.4.11