All pidigits problem benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL 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.)

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 485ms 2.0ms 25.4MB 460ms 10ms chpl 1.28.0
julia 3.jl 708ms 3.9ms 177.5MB 643ms 143ms julia 1.8.3
go 8.go 1330ms 1.6ms 8.5MB 1310ms 7ms go 1.19.4
julia 1.jl 1449ms 9.5ms 258.9MB 1360ms 170ms julia 1.8.3
rust 2.rs 1616ms 0.9ms 2.7MB 1543ms 57ms rustc 1.65.0
rust 1.rs 1694ms 6.5ms 2.7MB 1530ms 147ms rustc 1.65.0
dart 2.dart 1697ms 3.2ms 20.0MB 1647ms 43ms dart/exe 2.18.5
zig 1.zig 2003ms 0.4ms 2.3MB 1983ms 3ms zig 0.11.0-dev.632+d69e97ae1
python 4.py 2406ms 1.8ms 9.4MB 2360ms 30ms cpython 3.11.1
python 4.py 2409ms 0.6ms 9.1MB 2380ms 10ms pyston 3.8.12
python 4.py 2424ms 38ms 125.1MB 2353ms 57ms pypy 3.9.15
crystal 1.cr 2668ms 17ms 7.3MB 2637ms 10ms crystal 1.6.2
wasm 2.rs 2862ms 5.3ms 17.3MB 2840ms 0ms wasmedgec 0.11.2
wasm 2.rs 3323ms 3.4ms 11.4MB 3303ms 3ms wasmtime 3.0.1
wasm 2.rs 3349ms 6.7ms 49.4MB 3383ms 10ms node 16.18.1
v 1.v 3451ms 23ms 2.9MB 3433ms 0ms v/clang+gc 0.3.2
d 1.d 3455ms 10ms 7.8MB 3450ms 13ms ldc2 1.30.0
csharp 1.cs 4334ms 25ms 59.3MB 4293ms 40ms dotnet/aot 7.0.100
csharp 1.cs 4618ms 166ms 154.9MB 4513ms 127ms dotnet 7.0.100
acton 1.act 4902ms 85ms 7.8MB 4477ms 777ms actonc 0.14.2
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.101.0
java 1.java timeout 0.0ms 0.0MB 0ms 0ms graal/jvm 17.0.5
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 19
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 20
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk/zgc 19
javascript 3.js timeout 0.0ms 0.0MB 0ms 0ms node 19.2.0
kotlin 1.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/jvm 17.0.2
kotlin 1n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.22
kotlin 2n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.22
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.10
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.10
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms ruby 3.1.3
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms ruby/yjit 3.1.3
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms truffleruby 22.3.0
swift 1.swift timeout 0.0ms 0.0MB 0ms 0ms swift 5.7.1
typescript 3.ts timeout 0.0ms 0.0MB 0ms 0ms deno 1.28.3
v 2.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.2
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang 0.3.2

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 126ms 2.2ms 22.9MB 110ms 3ms chpl 1.28.0
go 8.go 321ms 3.1ms 8.4MB 303ms 0ms go 1.19.4
julia 3.jl 342ms 2.0ms 176.5MB 293ms 137ms julia 1.8.3
rust 2.rs 365ms 0.1ms 2.5MB 350ms 0ms rustc 1.65.0
rust 1.rs 367ms 1.2ms 2.5MB 343ms 7ms rustc 1.65.0
dart 2.dart 426ms 1.3ms 22.4MB 380ms 27ms dart/exe 2.18.5
zig 1.zig 459ms 0.2ms 1.8MB 447ms 0ms zig 0.11.0-dev.632+d69e97ae1
python 4.py 576ms 1.8ms 9.2MB 560ms 0ms cpython 3.11.1
python 4.py 576ms 3.1ms 8.8MB 560ms 0ms pyston 3.8.12
crystal 1.cr 584ms 35ms 5.6MB 567ms 0ms crystal 1.6.2
python 4.py 609ms 2.8ms 77.3MB 573ms 17ms pypy 3.9.15
wasm 2.rs 678ms 0.4ms 16.2MB 667ms 0ms wasmedgec 0.11.2
wasm 2.rs 790ms 0.3ms 10.8MB 780ms 0ms wasmtime 3.0.1
d 1.d 823ms 0.9ms 7.9MB 810ms 3ms ldc2 1.30.0
julia 1.jl 842ms 35ms 259.4MB 723ms 187ms julia 1.8.3
v 1.v 858ms 26ms 2.8MB 847ms 0ms v/clang+gc 0.3.2
wasm 2.rs 879ms 2.3ms 49.4MB 917ms 3ms node 16.18.1
csharp 1.cs 1029ms 2.6ms 58.5MB 997ms 30ms dotnet/aot 7.0.100
csharp 1.cs 1187ms 52ms 153.5MB 1157ms 63ms dotnet 7.0.100
v 2.v 1351ms 24ms 2.9MB 1337ms 0ms v/clang+gc 0.3.2
java 1.java 1411ms 13ms 274.7MB 1673ms 87ms openjdk 20
java 1.java 1432ms 9.2ms 286.8MB 1687ms 103ms openjdk 19
typescript 3.ts 1436ms 24ms 60.0MB 1393ms 60ms deno 1.28.3
kotlin 1.kt 1459ms 8.0ms 210.0MB 1770ms 73ms kotlin/jvm 17.0.2
acton 1.act 1475ms 7.3ms 6.4MB 1327ms 277ms actonc 0.14.2
d 1.d 1495ms 0.8ms 8.9MB 1490ms 0ms dmd 2.101.0
v 1.v 1497ms 18ms 3.0MB 1480ms 3ms v/clang 0.3.2
java 1.java 1516ms 1.6ms 328.1MB 1873ms 110ms graal/jvm 17.0.5
javascript 3.js 1582ms 3.3ms 65.5MB 1573ms 17ms node 19.2.0
java 1.java 2019ms 17ms 1012.1MB 1593ms 743ms openjdk/zgc 19
ruby 1-m.rb 2271ms 61ms 391.6MB 4173ms 163ms truffleruby 22.3.0
swift 1.swift 2747ms 1.8ms 6.2MB 2733ms 0ms swift 5.7.1
ruby 1.rb 3128ms 3.7ms 161.6MB 3030ms 80ms ruby 3.1.3
ruby 1.rb 3289ms 7.0ms 418.4MB 3080ms 197ms ruby/yjit 3.1.3
kotlin 1n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.22
kotlin 2n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.22
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.10
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.10