All edigits problem benchmarks

Current benchmark data was generated on Sat Nov 16 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 59ms 1.0ms 6.6MB 43ms 0ms crystal 1.14.0
chapel 1.chpl 79ms 0.6ms 36.5MB 70ms 3ms chpl 1.31.0
rust 1.rs 117ms 2.2ms 3.6MB 107ms 0ms rustc 1.82.0
go 1.go 120ms 0.7ms 10.2MB 110ms 3ms go 1.23.3
python 1.py 251ms 2.6ms 82.9MB 217ms 17ms pypy 3.10.14
acton 1.act 263ms 9.9ms 7.1MB 227ms 70ms actonc 0.24.1
javascript 1.js 279ms 2.8ms 67.1MB 283ms 33ms node 23.1.0
python 1.py 358ms 6.5ms 12.6MB 343ms 0ms cpython 3.13.0
wasm 1.rs 415ms 5.2ms 20.1MB 397ms 0ms wasmtime 25.0.3
rust 2.rs 421ms 2.0ms 3.6MB 410ms 0ms rustc 1.82.0
java 1-m.java 640ms 33ms 265.7MB 1690ms 80ms openjdk 21
java 1-m.java 642ms 52ms 228.2MB 1693ms 77ms openjdk 23
java 1-m.java 643ms 11ms 376.6MB 1230ms 117ms graal/jvm 17.0.8
javascript 1.js 653ms 5.6ms 77.3MB 623ms 23ms bun 1.1.34
java 1-m.java 949ms 30ms 530.5MB 1617ms 407ms openjdk/zgc 21
python 1.py 1992ms 1.4ms 9.6MB 1977ms 0ms pyston 3.8.12
zig 1.zig 2266ms 2.1ms 2.5MB 2237ms 10ms zig 0.13.0
d 1.d 2539ms 2.5ms 8.1MB 2530ms 0ms ldc2 1.39.0
d 1.d 2922ms 4.0ms 10.3MB 2913ms 3ms dmd 2.109.1
dart 1.dart 3644ms 7.1ms 18.0MB 3607ms 40ms dart/exe 3.5.4
csharp 1.cs 4073ms 4.1ms 24.1MB 4040ms 17ms dotnet/aot 9.0.100
csharp 1.cs 4945ms 5.6ms 43.9MB 4920ms 13ms dotnet 9.0.100
v 1.v timeout 0.0ms 29.1MB 4983ms 3ms v/clang+gc 0.4.8

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
crystal 1.cr 23ms 1.5ms 5.4MB 10ms 0ms crystal 1.14.0
rust 1.rs 33ms 0.9ms 2.9MB 23ms 0ms rustc 1.82.0
go 1.go 36ms 0.8ms 8.2MB 30ms 0ms go 1.23.3
chapel 1.chpl 41ms 0.9ms 34.5MB 30ms 0ms chpl 1.31.0
rust 2.rs 78ms 1.3ms 3.0MB 70ms 0ms rustc 1.82.0
acton 1.act 95ms 8.4ms 5.5MB 70ms 30ms actonc 0.24.1
python 1.py 99ms 3.0ms 62.9MB 73ms 17ms pypy 3.10.14
python 1.py 109ms 4.3ms 11.9MB 97ms 0ms cpython 3.13.0
wasm 1.rs 114ms 2.3ms 21.4MB 100ms 3ms wasmtime 25.0.3
javascript 1.js 128ms 1.6ms 65.4MB 143ms 17ms node 23.1.0
java 1-m.java 326ms 41ms 231.0MB 630ms 70ms graal/jvm 17.0.8
python 1.py 345ms 0.2ms 8.8MB 330ms 0ms pyston 3.8.12
java 1-m.java 356ms 19ms 124.5MB 953ms 67ms openjdk 23
zig 1.zig 384ms 0.9ms 1.9MB 367ms 0ms zig 0.13.0
java 1-m.java 388ms 12ms 196.0MB 1040ms 63ms openjdk 21
d 1.d 441ms 1.2ms 7.9MB 430ms 0ms ldc2 1.39.0
javascript 1.js 511ms 3.7ms 66.0MB 477ms 23ms bun 1.1.34
java 1-m.java 524ms 36ms 217.6MB 1027ms 217ms openjdk/zgc 21
d 1.d 535ms 5.9ms 10.1MB 523ms 0ms dmd 2.109.1
dart 1.dart 589ms 2.6ms 10.0MB 567ms 13ms dart/exe 3.5.4
csharp 1.cs 677ms 0.3ms 20.4MB 657ms 3ms dotnet/aot 9.0.100
csharp 1.cs 917ms 60ms 40.2MB 887ms 20ms dotnet 9.0.100
v 1.v timeout 0.0ms 13.8MB 4987ms 0ms v/clang+gc 0.4.8