All edigits problem benchmarks

Current benchmark data was generated on Sun Dec 01 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 60ms 2.2ms 6.6MB 40ms 10ms crystal 1.14.0
chapel 1.chpl 80ms 1.0ms 36.4MB 73ms 0ms chpl 1.31.0
rust 1.rs 115ms 0.3ms 3.6MB 100ms 0ms rustc 1.83.0
go 1.go 119ms 0.4ms 8.4MB 110ms 0ms go 1.23.3
python 1.py 250ms 4.1ms 82.8MB 203ms 30ms pypy 3.10.14
acton 1.act 262ms 23ms 8.7MB 243ms 53ms actonc 0.24.1
javascript 1.js 275ms 2.6ms 66.4MB 273ms 37ms node 23.3.0
python 1.py 356ms 1.6ms 12.6MB 337ms 3ms cpython 3.13.0
wasm 1.rs 357ms 2.7ms 38.5MB 343ms 0ms wasmer/llvm 5.0.2
rust 2.rs 414ms 5.1ms 3.5MB 400ms 0ms rustc 1.83.0
wasm 1.rs 418ms 3.7ms 20.2MB 403ms 3ms wasmtime 27.0.0
java 1-m.java 586ms 39ms 264.1MB 1630ms 67ms openjdk 21
java 1-m.java 603ms 30ms 227.8MB 1633ms 67ms openjdk 23
java 1-m.java 623ms 39ms 404.3MB 1197ms 110ms graal/jvm 17.0.8
javascript 1.js 651ms 2.3ms 77.2MB 620ms 27ms bun 1.1.38
java 1-m.java 944ms 27ms 514.3MB 1567ms 430ms openjdk/zgc 21
python 1.py 1997ms 6.3ms 9.6MB 1983ms 0ms pyston 3.8.12
zig 1.zig 2268ms 2.9ms 2.5MB 2230ms 27ms zig 0.13.0
d 1.d 2550ms 21ms 8.0MB 2537ms 0ms ldc2 1.39.0
d 1.d 2923ms 8.2ms 10.5MB 2910ms 10ms dmd 2.109.1
dart 1.dart 3594ms 14ms 17.8MB 3547ms 43ms dart/exe 3.5.4
csharp 1.cs 4076ms 2.4ms 24.2MB 4047ms 13ms dotnet/aot 9.0.100
csharp 1.cs 4962ms 5.9ms 43.5MB 4920ms 33ms dotnet 9.0.100
v 1.v timeout 0.0ms 29.2MB 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.1ms 5.4MB 10ms 0ms crystal 1.14.0
rust 1.rs 33ms 0.7ms 2.9MB 20ms 0ms rustc 1.83.0
go 1.go 36ms 1.0ms 8.3MB 27ms 0ms go 1.23.3
chapel 1.chpl 41ms 1.3ms 34.4MB 30ms 7ms chpl 1.31.0
rust 2.rs 76ms 1.6ms 3.0MB 67ms 0ms rustc 1.83.0
acton 1.act 95ms 11ms 5.5MB 73ms 30ms actonc 0.24.1
python 1.py 101ms 1.8ms 62.9MB 70ms 17ms pypy 3.10.14
wasm 1.rs 101ms 0.3ms 38.5MB 87ms 3ms wasmer/llvm 5.0.2
python 1.py 112ms 8.0ms 11.9MB 97ms 0ms cpython 3.13.0
wasm 1.rs 113ms 1.8ms 21.7MB 100ms 0ms wasmtime 27.0.0
javascript 1.js 125ms 1.1ms 65.4MB 143ms 13ms node 23.3.0
java 1-m.java 299ms 8.0ms 230.9MB 583ms 73ms graal/jvm 17.0.8
java 1-m.java 343ms 18ms 178.5MB 930ms 43ms openjdk 21
python 1.py 346ms 1.7ms 8.8MB 330ms 0ms pyston 3.8.12
zig 1.zig 383ms 1.3ms 1.9MB 367ms 3ms zig 0.13.0
java 1-m.java 394ms 8.3ms 112.4MB 1053ms 53ms openjdk 23
d 1.d 439ms 0.9ms 8.1MB 423ms 0ms ldc2 1.39.0
java 1-m.java 493ms 2.1ms 215.3MB 953ms 217ms openjdk/zgc 21
d 1.d 534ms 2.0ms 10.2MB 523ms 0ms dmd 2.109.1
javascript 1.js 549ms 51ms 67.0MB 523ms 20ms bun 1.1.38
dart 1.dart 584ms 4.5ms 10.1MB 560ms 17ms dart/exe 3.5.4
csharp 1.cs 677ms 0.7ms 20.4MB 660ms 3ms dotnet/aot 9.0.100
csharp 1.cs 871ms 0.8ms 38.1MB 857ms 7ms dotnet 9.0.100
v 1.v timeout 0.0ms 13.0MB 4980ms 0ms v/clang+gc 0.4.8