All edigits problem benchmarks

Current benchmark data was generated on Wed Mar 22 2023, full log can be found HERE


[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

* -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.)


Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 80ms 0.2ms 6.4MB 60ms 0ms crystal 1.7.3
chapel 1.chpl 100ms 3.3ms 36.1MB 87ms 7ms chpl 1.29.0
rust 146ms 0.6ms 3.5MB 137ms 0ms rustc 1.68.0
go 1.go 168ms 3.0ms 8.3MB 153ms 0ms go 1.20.2
javascript 1.js 395ms 1.0ms 102.9MB 377ms 10ms bun 0.5.8
javascript 1.js 416ms 4.0ms 60.2MB 413ms 20ms node 19.8.1
wasm 468ms 0.4ms 17.5MB 453ms 0ms wasmedgec 0.11.2
acton 1.act 539ms 20ms 7.4MB 490ms 20ms actonc 0.14.2
rust 600ms 1.1ms 3.7MB 583ms 0ms rustc 1.68.0
wasm 612ms 2.6ms 13.4MB 600ms 0ms wasmtime 7.0.0
wasm 631ms 2.9ms 56.2MB 647ms 17ms node 18.15.0
python 699ms 1.8ms 81.7MB 670ms 10ms pypy 3.9.16
java 797ms 4.9ms 213.2MB 1367ms 93ms openjdk 21
java 802ms 7.0ms 261.7MB 1380ms 100ms graal/jvm 17.0.6
java 829ms 69ms 188.2MB 1467ms 60ms openjdk 19
java 1029ms 21ms 428.0MB 1493ms 317ms openjdk/zgc 19
python 1660ms 0.6ms 10.2MB 1643ms 3ms cpython 3.11.2
python 2787ms 1.4ms 9.7MB 2770ms 3ms pyston 3.8.12
d 1.d 3819ms 2.0ms 8.2MB 3810ms 0ms ldc2 1.31.0
zig 1.zig 3834ms 1.9ms 2.6MB 3800ms 13ms zig 0.11.0-dev.2227+f9b582950
d 1.d 4409ms 6.9ms 9.8MB 4393ms 0ms dmd 2.102.2
dart 1.dart 4948ms 14ms 23.4MB 4910ms 23ms dart/exe
csharp 1.cs timeout 0.0ms 39.4MB 4973ms 7ms dotnet 7.0.202
csharp 1.cs timeout 0.0ms 22.8MB 4983ms 7ms dotnet/aot 7.0.202
dart 1.dart timeout 0.0ms 22.7MB 4957ms 27ms dart/exe 2.19.5
nim 1.nim timeout 0.0ms 3.0MB 4980ms 0ms nim/clang 1.6.12
nim 1.nim timeout 0.0ms 3.0MB 4983ms 0ms nim 1.6.12
v 1.v timeout 0.0ms 29.6MB 4980ms 3ms v/clang+gc 0.3.3

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 29ms 0.3ms 5.2MB 20ms 0ms crystal 1.7.3
rust 40ms 0.4ms 2.8MB 30ms 0ms rustc 1.68.0
chapel 1.chpl 47ms 1.9ms 34.1MB 37ms 0ms chpl 1.29.0
go 1.go 49ms 1.5ms 8.3MB 40ms 0ms go 1.20.2
rust 113ms 0.3ms 3.2MB 107ms 0ms rustc 1.68.0
wasm 126ms 0.5ms 15.3MB 110ms 0ms wasmedgec 0.11.2
wasm 161ms 0.9ms 12.7MB 143ms 0ms wasmtime 7.0.0
python 180ms 1.3ms 78.0MB 153ms 10ms pypy 3.9.16
javascript 1.js 190ms 4.3ms 53.8MB 197ms 10ms node 19.8.1
wasm 223ms 4.0ms 55.5MB 247ms 17ms node 18.15.0
acton 1.act 235ms 21ms 5.3MB 195ms 0ms actonc 0.14.2
python 302ms 0.4ms 9.3MB 287ms 0ms cpython 3.11.2
java 408ms 37ms 181.2MB 680ms 43ms graal/jvm 17.0.6
javascript 1.js 418ms 0.5ms 89.7MB 393ms 17ms bun 0.5.8
java 474ms 9.7ms 118.1MB 790ms 37ms openjdk 19
java 478ms 13ms 117.4MB 793ms 40ms openjdk 21
python 482ms 2.2ms 9.0MB 463ms 0ms pyston 3.8.12
java 540ms 7.7ms 207.3MB 767ms 153ms openjdk/zgc 19
zig 1.zig 636ms 1.1ms 2.0MB 620ms 3ms zig 0.11.0-dev.2227+f9b582950
d 1.d 651ms 1.1ms 7.1MB 640ms 0ms ldc2 1.31.0
dart 1.dart 778ms 3.4ms 14.9MB 740ms 17ms dart/exe
d 1.d 797ms 2.3ms 9.4MB 780ms 0ms dmd 2.102.2
dart 1.dart 804ms 2.7ms 17.9MB 767ms 13ms dart/exe 2.19.5
csharp 1.cs 1029ms 2.7ms 17.1MB 1023ms 0ms dotnet/aot 7.0.202
csharp 1.cs 1106ms 9.3ms 37.0MB 1060ms 17ms dotnet 7.0.202
nim 1.nim timeout 0.0ms 2.2MB 4987ms 0ms nim/clang 1.6.12
nim 1.nim timeout 0.0ms 2.2MB 4990ms 0ms nim 1.6.12
v 1.v timeout 0.0ms 12.7MB 4987ms 0ms v/clang+gc 0.3.3