All edigits problem benchmarks

Current benchmark data was generated on Wed Jan 22 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 62ms 1.9ms 6.4MB 43ms 3ms crystal 1.15.0
chapel 1.chpl 80ms 0.6ms 36.5MB 70ms 0ms chpl 1.31.0
rust 1.rs 118ms 0.7ms 3.6MB 110ms 0ms rustc 1.84.0
go 1.go 120ms 0.9ms 10.2MB 107ms 3ms go 1.23.5
python 1.py 246ms 1.1ms 82.8MB 213ms 13ms pypy 3.10.14
acton 1.act 269ms 4.3ms 8.1MB 247ms 63ms actonc 0.24.1
javascript 1.js 277ms 0.8ms 67.3MB 293ms 23ms node 23.6.0
python 1.py 362ms 2.1ms 12.7MB 347ms 3ms cpython 3.13.1
wasm 1.rs 416ms 1.5ms 20.8MB 403ms 3ms wasmtime 29.0.1
rust 2.rs 423ms 4.0ms 3.6MB 417ms 0ms rustc 1.84.0
java 1-m.java 611ms 50ms 226.3MB 1660ms 63ms openjdk 23
java 1-m.java 630ms 48ms 412.9MB 1207ms 117ms graal/jvm 17.0.8
java 1-m.java 681ms 6.9ms 267.6MB 1783ms 80ms openjdk 21
javascript 1.js 714ms 5.9ms 77.1MB 693ms 17ms bun 1.1.45
java 1-m.java 943ms 32ms 528.5MB 1630ms 413ms openjdk/zgc 21
python 1.py 1998ms 4.4ms 9.6MB 1980ms 3ms pyston 3.8.12
zig 1.zig 2269ms 5.3ms 2.5MB 2230ms 23ms zig 0.13.0
d 1.d 2540ms 0.8ms 8.0MB 2530ms 0ms ldc2 1.40.0
d 1.d 2935ms 8.4ms 10.4MB 2930ms 0ms dmd 2.109.1
dart 1.dart 3581ms 55ms 17.9MB 3550ms 27ms dart/exe 3.6.1
csharp 1.cs 4084ms 2.2ms 24.3MB 4053ms 17ms dotnet/aot 9.0.102
csharp 1.cs 4938ms 22ms 43.7MB 4910ms 17ms dotnet 9.0.102
v 1.v timeout 0.0ms 28.3MB 4980ms 3ms v/clang+gc 0.4.9

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 23ms 1.6ms 5.1MB 10ms 0ms crystal 1.15.0
rust 1.rs 33ms 1.4ms 2.9MB 23ms 0ms rustc 1.84.0
go 1.go 34ms 1.2ms 8.2MB 27ms 0ms go 1.23.5
chapel 1.chpl 40ms 0.2ms 34.5MB 33ms 3ms chpl 1.31.0
rust 2.rs 77ms 2.1ms 3.0MB 63ms 0ms rustc 1.84.0
python 1.py 97ms 0.7ms 62.8MB 63ms 20ms pypy 3.10.14
acton 1.act 100ms 2.2ms 7.2MB 80ms 37ms actonc 0.24.1
python 1.py 109ms 3.8ms 12.4MB 100ms 0ms cpython 3.13.1
wasm 1.rs 113ms 1.5ms 20.1MB 100ms 0ms wasmtime 29.0.1
javascript 1.js 126ms 0.7ms 65.5MB 140ms 17ms node 23.6.0
java 1-m.java 302ms 19ms 231.6MB 593ms 67ms graal/jvm 17.0.8
java 1-m.java 329ms 2.1ms 177.6MB 883ms 63ms openjdk 21
python 1.py 347ms 2.2ms 8.8MB 333ms 0ms pyston 3.8.12
java 1-m.java 373ms 21ms 127.4MB 1010ms 43ms openjdk 23
zig 1.zig 384ms 2.4ms 1.9MB 370ms 3ms zig 0.13.0
d 1.d 441ms 0.9ms 8.1MB 427ms 3ms ldc2 1.40.0
java 1-m.java 513ms 35ms 215.4MB 1007ms 213ms openjdk/zgc 21
javascript 1.js 525ms 2.3ms 66.8MB 493ms 23ms bun 1.1.45
d 1.d 534ms 2.1ms 10.1MB 523ms 0ms dmd 2.109.1
dart 1.dart 583ms 5.2ms 10.0MB 560ms 17ms dart/exe 3.6.1
csharp 1.cs 685ms 5.5ms 20.5MB 660ms 3ms dotnet/aot 9.0.102
csharp 1.cs 858ms 3.8ms 40.0MB 827ms 17ms dotnet 9.0.102
v 1.v timeout 0.0ms 13.1MB 4990ms 0ms v/clang+gc 0.4.9