All edigits problem benchmarks

Current benchmark data was generated on Tue Dec 31 2024, 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 58ms 2.4ms 6.6MB 37ms 7ms crystal 1.14.0
chapel 1.chpl 75ms 2.3ms 36.4MB 70ms 0ms chpl 1.31.0
rust 1.rs 108ms 0.9ms 3.6MB 100ms 0ms rustc 1.83.0
go 1.go 113ms 2.3ms 8.5MB 107ms 0ms go 1.23.4
python 1.py 236ms 4.6ms 82.9MB 197ms 27ms pypy 3.10.14
acton 1.act 258ms 21ms 7.0MB 237ms 60ms actonc 0.24.1
javascript 1.js 259ms 3.7ms 68.1MB 267ms 27ms node 23.5.0
python 1.py 341ms 2.5ms 12.7MB 330ms 0ms cpython 3.13.1
rust 2.rs 389ms 4.7ms 3.6MB 380ms 0ms rustc 1.83.0
wasm 1.rs 400ms 3.8ms 22.3MB 383ms 0ms wasmtime 28.0.0
java 1-m.java 570ms 13ms 400.4MB 1093ms 103ms graal/jvm 17.0.8
java 1-m.java 603ms 36ms 265.8MB 1603ms 53ms openjdk 21
java 1-m.java 638ms 35ms 227.5MB 1663ms 60ms openjdk 23
javascript 1.js 677ms 2.7ms 76.5MB 643ms 23ms bun 1.1.42
java 1-m.java 959ms 5.3ms 553.4MB 1583ms 433ms openjdk/zgc 21
python 1.py 1892ms 11ms 9.6MB 1877ms 0ms pyston 3.8.12
zig 1.zig 2162ms 6.9ms 2.5MB 2130ms 13ms zig 0.13.0
d 1.d 2428ms 28ms 8.1MB 2410ms 7ms ldc2 1.40.0
d 1.d 2770ms 13ms 10.2MB 2760ms 0ms dmd 2.109.1
dart 1.dart 3368ms 13ms 18.0MB 3330ms 33ms dart/exe 3.6.0
csharp 1.cs 3879ms 27ms 24.0MB 3850ms 13ms dotnet/aot 9.0.101
csharp 1.cs 4710ms 24ms 43.7MB 4687ms 17ms dotnet 9.0.101
v 1.v timeout 0.0ms 23.6MB 4983ms 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 21ms 0.3ms 5.4MB 10ms 0ms crystal 1.14.0
rust 1.rs 31ms 0.7ms 2.9MB 20ms 0ms rustc 1.83.0
go 1.go 35ms 1.8ms 8.2MB 27ms 0ms go 1.23.4
chapel 1.chpl 38ms 0.3ms 34.5MB 27ms 7ms chpl 1.31.0
rust 2.rs 71ms 1.3ms 3.0MB 60ms 0ms rustc 1.83.0
acton 1.act 90ms 2.2ms 7.2MB 73ms 33ms actonc 0.24.1
python 1.py 97ms 4.0ms 62.8MB 70ms 10ms pypy 3.10.14
python 1.py 107ms 1.8ms 12.1MB 90ms 3ms cpython 3.13.1
wasm 1.rs 111ms 2.8ms 21.7MB 100ms 0ms wasmtime 28.0.0
javascript 1.js 119ms 2.5ms 65.5MB 133ms 17ms node 23.5.0
java 1-m.java 295ms 20ms 230.9MB 577ms 60ms graal/jvm 17.0.8
java 1-m.java 325ms 28ms 178.0MB 870ms 47ms openjdk 21
python 1.py 334ms 3.4ms 8.8MB 317ms 0ms pyston 3.8.12
java 1-m.java 338ms 18ms 111.1MB 923ms 40ms openjdk 23
zig 1.zig 368ms 1.2ms 1.9MB 347ms 10ms zig 0.13.0
d 1.d 432ms 6.9ms 8.1MB 420ms 0ms ldc2 1.40.0
java 1-m.java 473ms 26ms 215.3MB 917ms 210ms openjdk/zgc 21
javascript 1.js 494ms 1.9ms 66.4MB 473ms 17ms bun 1.1.42
d 1.d 501ms 0.5ms 10.2MB 493ms 0ms dmd 2.109.1
dart 1.dart 555ms 3.6ms 10.4MB 530ms 13ms dart/exe 3.6.0
csharp 1.cs 641ms 1.7ms 20.6MB 620ms 0ms dotnet/aot 9.0.101
csharp 1.cs 830ms 5.3ms 40.1MB 803ms 13ms dotnet 9.0.101
v 1.v timeout 0.0ms 13.9MB 4983ms 0ms v/clang+gc 0.4.9