All edigits problem benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M 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 97ms 3.1ms 7.4MB 73ms 13ms crystal 1.4.1
chapel 1.chpl 116ms 1.6ms 26.1MB 90ms 13ms chpl 1.27.0
rust 1.rs 170ms 2.1ms 3.7MB 160ms 0ms rustc 1.62.0
go 1.go 200ms 2.9ms 11.7MB 190ms 3ms go 1.18.3
wasm 1.rs 539ms 4.7ms 7.1MB 523ms 0ms wasmer/llvm 2.3.0
wasm 1.rs 594ms 5.9ms 6.6MB 580ms 0ms wasmedgec 0.10.0
rust 2.rs 701ms 1.9ms 3.8MB 690ms 0ms rustc 1.62.0
wasm 1.rs 717ms 18ms 11.9MB 697ms 0ms wasmtime 0.38.1
wasm 1.rs 826ms 8.9ms 48.2MB 887ms 10ms node 16.15.1
java 1-m.java 901ms 33ms 218.9MB 1543ms 103ms openjdk 18.0.1
python 1.py 920ms 13ms 83.0MB 880ms 23ms pypy 3.8.13
java 1-m.java 995ms 75ms 202.7MB 1730ms 107ms openjdk 19
java 1-m.java 1107ms 4.1ms 278.4MB 1617ms 137ms graal/jvm 17.0.3
java 1-m.java 1170ms 41ms 445.8MB 1680ms 383ms openjdk/zgc 18.0.1
python 1.py 2827ms 14ms 9.6MB 2807ms 3ms pyston 3.8.12
python 1.py 2900ms 39ms 9.3MB 2880ms 0ms cpython 3.10.5
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet 6.0.301
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.100.0
d 1.d timeout 0.0ms 0.0MB 0ms 0ms ldc2 1.29.0
dart 1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5
elixir 1.ex timeout 0.0ms 0.0MB 0ms 0ms elixir 12.3.2
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.0
zig 1.zig timeout 0.0ms 0.0MB 0ms 0ms zig 0.10.0-dev.2820+48fd92365

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 38ms 2.0ms 5.3MB 27ms 0ms crystal 1.4.1
rust 1.rs 50ms 1.9ms 3.0MB 40ms 0ms rustc 1.62.0
chapel 1.chpl 55ms 5.4ms 20.8MB 33ms 10ms chpl 1.27.0
go 1.go 58ms 3.5ms 8.1MB 47ms 0ms go 1.18.3
rust 2.rs 137ms 1.3ms 3.3MB 123ms 0ms rustc 1.62.0
wasm 1.rs 144ms 0.8ms 6.2MB 123ms 0ms wasmer/llvm 2.3.0
wasm 1.rs 154ms 2.5ms 5.8MB 143ms 0ms wasmedgec 0.10.0
wasm 1.rs 189ms 2.9ms 11.2MB 177ms 0ms wasmtime 0.38.1
python 1.py 241ms 1.7ms 75.8MB 200ms 27ms pypy 3.8.13
wasm 1.rs 315ms 1.3ms 48.1MB 363ms 20ms node 16.15.1
java 1-m.java 468ms 17ms 112.1MB 747ms 53ms openjdk 18.0.1
python 1.py 495ms 7.5ms 8.8MB 480ms 0ms pyston 3.8.12
python 1.py 521ms 13ms 8.5MB 503ms 3ms cpython 3.10.5
java 1-m.java 538ms 14ms 117.8MB 873ms 70ms openjdk 19
java 1-m.java 605ms 85ms 220.3MB 827ms 197ms openjdk/zgc 18.0.1
java 1.java 790ms 27ms 185.3MB 763ms 70ms graal/jvm 17.0.3
zig 1.zig 1108ms 4.6ms 0.5MB 990ms 97ms zig 0.10.0-dev.2820+48fd92365
csharp 1.cs 1117ms 14ms 47.9MB 1067ms 23ms dotnet 6.0.301
d 1.d 1126ms 2.1ms 7.5MB 1107ms 0ms ldc2 1.29.0
d 1.d 1335ms 13ms 8.5MB 1320ms 0ms dmd 2.100.0
dart 1.dart 2239ms 3.7ms 44.4MB 2187ms 33ms dart/exe 2.17.5
elixir 1.ex timeout 0.0ms 0.0MB 0ms 0ms elixir 12.3.2
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.0