All pidigits problem benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M 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 594ms 5.0ms 34.1MB 573ms 7ms chpl 1.27.0
julia 3.jl 910ms 22ms 181.5MB 863ms 153ms julia 1.7.3
go 8.go 1580ms 22ms 8.5MB 1553ms 10ms go 1.18.3
julia 1.jl 1734ms 15ms 258.5MB 1640ms 200ms julia 1.7.3
rust 1.rs 2159ms 18ms 2.7MB 1980ms 163ms rustc 1.62.0
rust 2.rs 2221ms 11ms 2.8MB 2120ms 80ms rustc 1.62.0
dart 2.dart 2233ms 27ms 22.0MB 2227ms 53ms dart/exe 2.17.5
python 4.py 2890ms 17ms 9.1MB 2847ms 23ms pyston 3.8.12
python 4.py 3248ms 25ms 8.6MB 3190ms 40ms cpython 3.10.5
crystal 1.cr 3408ms 85ms 8.8MB 3730ms 357ms crystal 1.4.1
python 4.py 3514ms 53ms 127.7MB 3433ms 60ms pypy 3.8.13
wasm 2.rs 3869ms 8.8ms 6.3MB 3853ms 0ms wasmer/llvm 2.3.0
wasm 2.rs 4240ms 27ms 6.1MB 4220ms 0ms wasmedgec 0.10.0
d 1.d 4292ms 20ms 7.8MB 4327ms 33ms ldc2 1.29.0
wasm 2.rs 4670ms 24ms 47.7MB 4720ms 20ms node 16.15.1
wasm 2.rs 4756ms 5.9ms 11.2MB 4740ms 3ms wasmtime 0.38.1
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet 6.0.301
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.100.0
elixir 1.ex timeout 0.0ms 0.0MB 0ms 0ms elixir 12.3.2
java 1.java timeout 0.0ms 0.0MB 0ms 0ms graal/jvm 17.0.3
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 18.0.1
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk 19
java 1.java timeout 0.0ms 0.0MB 0ms 0ms openjdk/zgc 18.0.1
javascript 3.js timeout 0.0ms 0.0MB 0ms 0ms node 18.4.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.0
kotlin 2n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.0
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms ruby 3.1.2
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms ruby/yjit 3.1.2
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms truffleruby 22.1.0
swift 1.swift timeout 0.0ms 0.0MB 0ms 0ms swift 5.6.2
typescript 3.ts timeout 0.0ms 0.0MB 0ms 0ms deno 1.23.2
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.0
v 2.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.0
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang 0.3.0
zig 1.zig timeout 0.0ms 0.0MB 0ms 0ms zig 0.10.0-dev.2820+48fd92365

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 155ms 2.2ms 34.1MB 133ms 7ms chpl 1.27.0
go 8.go 375ms 5.3ms 8.5MB 357ms 0ms go 1.18.3
julia 3.jl 454ms 11ms 180.8MB 403ms 163ms julia 1.7.3
rust 1.rs 461ms 5.4ms 2.6MB 437ms 7ms rustc 1.62.0
rust 2.rs 499ms 4.5ms 2.5MB 487ms 0ms rustc 1.62.0
dart 2.dart 528ms 2.8ms 20.2MB 517ms 10ms dart/exe 2.17.5
python 4.py 694ms 6.6ms 8.8MB 677ms 0ms pyston 3.8.12
python 4.py 787ms 17ms 8.3MB 770ms 0ms cpython 3.10.5
crystal 1.cr 809ms 14ms 5.3MB 857ms 87ms crystal 1.4.1
wasm 2.rs 918ms 25ms 5.9MB 897ms 0ms wasmer/llvm 2.3.0
python 4.py 924ms 13ms 79.8MB 877ms 30ms pypy 3.8.13
wasm 2.rs 997ms 20ms 5.8MB 980ms 0ms wasmedgec 0.10.0
julia 1.jl 1006ms 32ms 257.3MB 893ms 207ms julia 1.7.3
d 1.d 1028ms 15ms 7.9MB 1030ms 0ms ldc2 1.29.0
wasm 2.rs 1133ms 9.2ms 10.9MB 1117ms 3ms wasmtime 0.38.1
wasm 2.rs 1204ms 4.1ms 47.7MB 1263ms 10ms node 16.15.1
v 1.v 1356ms 17ms 2.6MB 1343ms 0ms v/clang+gc 0.3.0
elixir 1.ex 1442ms 11ms 48.8MB 1437ms 180ms elixir 12.3.2
csharp 1.cs 1574ms 6.5ms 79.7MB 1570ms 47ms dotnet 6.0.301
java 1.java 1704ms 15ms 289.7MB 2130ms 100ms openjdk 19
typescript 3.ts 1707ms 20ms 57.0MB 1720ms 70ms deno 1.23.2
kotlin 1.kt 1750ms 30ms 250.2MB 2083ms 87ms kotlin/jvm 17.0.2
d 1.d 1803ms 37ms 9.0MB 1797ms 13ms dmd 2.100.0
java 1.java 1822ms 13ms 246.6MB 2173ms 100ms openjdk 18.0.1
v 2.v 1829ms 9.5ms 2.9MB 1813ms 3ms v/clang+gc 0.3.0
java 1.java 1850ms 15ms 373.6MB 2320ms 153ms graal/jvm 17.0.3
v 1.v 1973ms 55ms 3.0MB 1953ms 3ms v/clang 0.3.0
javascript 3.js 2000ms 1.1ms 62.5MB 1977ms 27ms node 18.4.0
java 1.java 2559ms 80ms 1223.2MB 2367ms 960ms openjdk/zgc 18.0.1
ruby 1-m.rb 2829ms 51ms 377.2MB 5153ms 227ms truffleruby 22.1.0
ruby 1.rb 3543ms 46ms 162.9MB 3427ms 93ms ruby 3.1.2
ruby 1.rb 3740ms 31ms 420.8MB 3457ms 263ms ruby/yjit 3.1.2
zig 1.zig 3846ms 9.0ms 0.4MB 1423ms 2400ms zig 0.10.0-dev.2820+48fd92365
swift 1.swift 4133ms 11ms 6.3MB 4113ms 3ms swift 5.6.2
kotlin 1n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.0
kotlin 2n.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.0
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6