All edigits problem benchmarks

Current benchmark data was generated on Thu Jul 13 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.7ms 7.2MB 63ms 7ms crystal 1.9.0
chapel 1.chpl 97ms 2.0ms 36.0MB 93ms 0ms chpl 1.31.0
rust 148ms 0.6ms 3.5MB 140ms 0ms rustc 1.70.0
go 1.go 163ms 1.2ms 8.3MB 153ms 0ms go 1.20.6
python 278ms 0.1ms 88.1MB 243ms 17ms pypy 3.10.12
javascript 1.js 390ms 4.2ms 55.4MB 400ms 20ms node 20.4.0
javascript 1.js 398ms 2.8ms 100.1MB 367ms 20ms bun 0.6.14
wasm 484ms 1.6ms 28.9MB 463ms 0ms wasmedgec 0.13.1
wasm 589ms 0.5ms 17.5MB 570ms 0ms wasmtime 10.0.1
rust 597ms 0.6ms 3.8MB 580ms 3ms rustc 1.70.0
wasm 659ms 0.8ms 58.1MB 690ms 7ms node 18.16.1
acton 1.act 753ms 14ms 10.1MB 733ms 17ms actonc 0.16.0
java 814ms 88ms 182.0MB 1423ms 77ms openjdk 20
java 834ms 39ms 326.2MB 1440ms 113ms graal/jvm 17.0.7
java 888ms 79ms 197.5MB 1563ms 90ms openjdk 22
java 1052ms 56ms 468.2MB 1553ms 307ms openjdk/zgc 20
python 1655ms 1.1ms 10.1MB 1640ms 0ms cpython 3.11.4
python 2783ms 0.3ms 9.7MB 2770ms 0ms pyston 3.8.12
d 1.d 3810ms 0.7ms 7.9MB 3800ms 0ms ldc2 1.32.2
zig 1.zig 3821ms 0.4ms 2.7MB 3793ms 13ms zig 0.11.0-dev.3978+711b4e93e
d 1.d 4427ms 5.5ms 9.7MB 4410ms 0ms dmd 2.104.1
dart 1.dart 4741ms 2.8ms 25.3MB 4703ms 23ms dart/exe 3.0.6
csharp 1.cs timeout 0.0ms 39.5MB 4970ms 7ms dotnet 7.0.306
csharp 1.cs timeout 0.0ms 22.6MB 4987ms 3ms dotnet/aot 7.0.306
nim 1.nim timeout 0.0ms 3.0MB 4983ms 0ms nim/clang 1.6.14
nim 1.nim timeout 0.0ms 3.0MB 4990ms 0ms nim 1.6.14
v 1.v timeout 0.0ms 27.3MB 4977ms 3ms v/clang+gc 0.4.0

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 29ms 0.7ms 5.4MB 17ms 3ms crystal 1.9.0
rust 40ms 0.4ms 2.8MB 30ms 0ms rustc 1.70.0
chapel 1.chpl 47ms 1.4ms 34.0MB 30ms 7ms chpl 1.31.0
go 1.go 48ms 1.4ms 8.1MB 37ms 0ms go 1.20.6
rust 112ms 0.2ms 3.1MB 100ms 0ms rustc 1.70.0
python 116ms 1.0ms 79.0MB 83ms 20ms pypy 3.10.12
wasm 132ms 0.7ms 29.7MB 120ms 0ms wasmedgec 0.13.1
wasm 157ms 0.3ms 16.7MB 147ms 0ms wasmtime 10.0.1
javascript 1.js 184ms 1.7ms 51.6MB 207ms 20ms node 20.4.0
acton 1.act 227ms 6.0ms 11.0MB 210ms 10ms actonc 0.16.0
wasm 233ms 3.6ms 57.6MB 260ms 13ms node 18.16.1
python 301ms 0.2ms 9.3MB 290ms 0ms cpython 3.11.4
java 383ms 16ms 161.4MB 613ms 53ms graal/jvm 17.0.7
javascript 1.js 419ms 3.1ms 88.0MB 393ms 17ms bun 0.6.14
java 430ms 5.0ms 118.4MB 703ms 33ms openjdk 22
java 447ms 27ms 115.5MB 730ms 40ms openjdk 20
python 480ms 1.1ms 9.0MB 463ms 0ms pyston 3.8.12
java 527ms 17ms 206.2MB 743ms 147ms openjdk/zgc 20
zig 1.zig 635ms 1.5ms 2.0MB 617ms 3ms zig 0.11.0-dev.3978+711b4e93e
d 1.d 650ms 0.6ms 6.9MB 640ms 0ms ldc2 1.32.2
dart 1.dart 775ms 1.5ms 17.7MB 737ms 17ms dart/exe 3.0.6
d 1.d 799ms 0.5ms 9.7MB 783ms 3ms dmd 2.104.1
csharp 1.cs 1048ms 11ms 19.0MB 1040ms 3ms dotnet/aot 7.0.306
csharp 1.cs 1108ms 13ms 32.8MB 1063ms 7ms dotnet 7.0.306
nim 1.nim timeout 0.0ms 2.2MB 4983ms 0ms nim/clang 1.6.14
nim 1.nim timeout 0.0ms 2.3MB 4990ms 0ms nim 1.6.14
v 1.v timeout 0.0ms 13.0MB 4980ms 0ms v/clang+gc 0.4.0