All edigits problem benchmarks

Current benchmark data was generated on Tue Mar 25 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.4MB 43ms 0ms crystal 1.15.1
chapel 1.chpl 73ms 2.7ms 32.5MB 70ms 0ms chpl 1.31.0
go 1.go 120ms 0.5ms 10.3MB 110ms 0ms go 1.24.1
rust 1.rs 120ms 0.7ms 3.6MB 110ms 0ms rustc 1.85.1
python 1.py 252ms 2.8ms 83.3MB 213ms 27ms pypy 3.10.16
acton 1.act 265ms 20ms 7.1MB 230ms 70ms actonc 0.24.1
javascript 1.js 274ms 1.8ms 62.8MB 290ms 23ms node 23.10.0
python 1.py 360ms 4.5ms 12.5MB 343ms 0ms cpython 3.13.2
rust 2.rs 424ms 2.4ms 3.8MB 410ms 0ms rustc 1.85.1
wasm 1.rs 425ms 3.8ms 18.6MB 410ms 0ms wasmtime 31.0.0
javascript 1.js 530ms 5.1ms 77.9MB 497ms 27ms bun 1.2.6
java 1-m.java 589ms 7.5ms 263.6MB 1617ms 70ms openjdk 21
java 1-m.java 613ms 8.6ms 392.1MB 1177ms 113ms graal/jvm 17.0.8
java 1-m.java 633ms 64ms 222.5MB 1693ms 70ms openjdk 23
java 1-m.java 998ms 3.0ms 504.7MB 1677ms 423ms openjdk/zgc 21
python 1.py 2006ms 3.3ms 9.6MB 1990ms 0ms pyston 3.8.12
zig 1.zig 2275ms 0.2ms 2.5MB 2243ms 17ms zig 0.14.0
d 1.d 2558ms 2.8ms 8.0MB 2547ms 0ms ldc2 1.40.1
d 1.d 2909ms 6.1ms 10.4MB 2893ms 3ms dmd 2.110.0
dart 1.dart 3711ms 21ms 18.1MB 3677ms 27ms dart/exe 3.7.2
csharp 1.cs 4104ms 3.1ms 18.4MB 4080ms 10ms dotnet/aot 9.0.202
csharp 1.cs 4967ms 13ms 37.5MB 4937ms 20ms dotnet 9.0.202
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 22ms 0.7ms 5.1MB 10ms 0ms crystal 1.15.1
rust 1.rs 33ms 1.6ms 2.9MB 23ms 0ms rustc 1.85.1
chapel 1.chpl 34ms 1.3ms 30.5MB 30ms 0ms chpl 1.31.0
go 1.go 34ms 0.7ms 8.2MB 30ms 0ms go 1.24.1
rust 2.rs 78ms 1.2ms 3.0MB 70ms 0ms rustc 1.85.1
acton 1.act 101ms 17ms 5.3MB 83ms 27ms actonc 0.24.1
python 1.py 105ms 0.1ms 63.3MB 73ms 17ms pypy 3.10.16
wasm 1.rs 113ms 2.1ms 18.1MB 100ms 0ms wasmtime 31.0.0
python 1.py 125ms 28ms 12.3MB 100ms 0ms cpython 3.13.2
javascript 1.js 129ms 1.3ms 62.0MB 150ms 20ms node 23.10.0
java 1-m.java 305ms 12ms 225.7MB 607ms 63ms graal/jvm 17.0.8
java 1-m.java 328ms 2.2ms 178.0MB 890ms 57ms openjdk 21
python 1.py 349ms 1.6ms 8.8MB 337ms 0ms pyston 3.8.12
zig 1.zig 384ms 2.2ms 1.9MB 370ms 3ms zig 0.14.0
java 1-m.java 384ms 21ms 110.9MB 1053ms 53ms openjdk 23
d 1.d 442ms 0.2ms 8.1MB 430ms 0ms ldc2 1.40.1
javascript 1.js 503ms 3.1ms 67.9MB 473ms 20ms bun 1.2.6
d 1.d 527ms 0.5ms 10.2MB 520ms 0ms dmd 2.110.0
java 1-m.java 529ms 30ms 216.4MB 1050ms 223ms openjdk/zgc 21
dart 1.dart 600ms 5.3ms 10.4MB 580ms 13ms dart/exe 3.7.2
csharp 1.cs 682ms 1.1ms 14.5MB 663ms 3ms dotnet/aot 9.0.202
csharp 1.cs 869ms 16ms 34.0MB 843ms 10ms dotnet 9.0.202
v 1.v timeout 0.0ms 4.8MB 4990ms 0ms v/clang+gc 0.4.10