All edigits problem benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -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 75ms 1.6ms 7.4MB 60ms 0ms crystal 1.6.2
chapel 1.chpl 89ms 1.6ms 24.4MB 73ms 3ms chpl 1.28.0
rust 1.rs 138ms 0.3ms 3.5MB 130ms 0ms rustc 1.65.0
go 1.go 163ms 2.1ms 10.3MB 143ms 3ms go 1.19.4
wasm 1.rs 474ms 0.8ms 16.8MB 460ms 0ms wasmedgec 0.11.2
acton 1.act 548ms 11ms 7.4MB 487ms 43ms actonc 0.14.2
rust 2.rs 573ms 0.6ms 3.7MB 560ms 0ms rustc 1.65.0
python 1.py 588ms 0.8ms 78.8MB 563ms 7ms pypy 3.9.15
wasm 1.rs 652ms 4.9ms 48.8MB 693ms 10ms node 16.18.1
wasm 1.rs 667ms 0.5ms 11.9MB 650ms 0ms wasmtime 3.0.1
java 1-m.java 841ms 122ms 215.6MB 1477ms 67ms openjdk 20
java 1-m.java 866ms 96ms 204.6MB 1483ms 87ms openjdk 19
java 1-m.java 882ms 59ms 317.1MB 1523ms 113ms graal/jvm 17.0.5
java 1-m.java 1006ms 17ms 435.0MB 1433ms 323ms openjdk/zgc 19
python 1.py 1402ms 0.8ms 10.1MB 1390ms 0ms cpython 3.11.1
python 1.py 2296ms 0.6ms 9.7MB 2280ms 3ms pyston 3.8.12
zig 1.zig 4853ms 2.9ms 2.6MB 4820ms 13ms zig 0.11.0-dev.632+d69e97ae1
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet 7.0.100
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet/aot 7.0.100
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.101.0
d 1.d timeout 0.0ms 0.0MB 0ms 0ms ldc2 1.30.0
dart 1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.18.5
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.10
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.10
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.2

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 29ms 1.1ms 5.2MB 20ms 0ms crystal 1.6.2
rust 1.rs 38ms 1.0ms 2.8MB 30ms 0ms rustc 1.65.0
chapel 1.chpl 41ms 2.5ms 24.9MB 27ms 3ms chpl 1.28.0
go 1.go 50ms 1.1ms 8.4MB 37ms 0ms go 1.19.4
rust 2.rs 111ms 0.7ms 3.1MB 100ms 0ms rustc 1.65.0
wasm 1.rs 128ms 0.6ms 16.9MB 113ms 0ms wasmedgec 0.11.2
python 1.py 162ms 0.8ms 73.3MB 133ms 13ms pypy 3.9.15
wasm 1.rs 176ms 1.2ms 11.1MB 163ms 0ms wasmtime 3.0.1
acton 1.act 202ms 1.2ms 5.3MB 183ms 3ms actonc 0.14.2
wasm 1.rs 257ms 1.3ms 49.1MB 290ms 17ms node 16.18.1
python 1.py 261ms 0.9ms 9.3MB 247ms 0ms cpython 3.11.1
python 1.py 402ms 0.7ms 9.0MB 387ms 0ms pyston 3.8.12
java 1-m.java 430ms 37ms 166.7MB 680ms 63ms graal/jvm 17.0.5
java 1-m.java 432ms 11ms 115.8MB 690ms 53ms openjdk 19
java 1-m.java 443ms 26ms 117.3MB 717ms 50ms openjdk 20
java 1-m.java 595ms 83ms 224.6MB 823ms 183ms openjdk/zgc 19
zig 1.zig 802ms 4.1ms 1.9MB 780ms 7ms zig 0.11.0-dev.632+d69e97ae1
csharp 1.cs 849ms 0.6ms 19.1MB 833ms 7ms dotnet/aot 7.0.100
d 1.d 954ms 1.0ms 7.0MB 940ms 0ms ldc2 1.30.0
csharp 1.cs 964ms 2.1ms 109.5MB 903ms 30ms dotnet 7.0.100
d 1.d 1084ms 0.3ms 8.0MB 1070ms 0ms dmd 2.101.0
dart 1.dart 1721ms 1.1ms 15.6MB 1703ms 7ms dart/exe 2.18.5
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.10
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.10
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.2