All pidigits problem benchmarks

Current benchmark data was generated on Tue Jan 18 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
chapel 2.chpl 586ms 3.2ms 8.4MB 577ms 3ms chpl 1.25.1
julia 3.jl 1040ms 20ms 179.9MB 770ms 177ms julia 1.7.1
haskell 4.hs 1051ms 7.8ms 19.2MB 1030ms 47ms ghc 9.2.1
go 8.go 1400ms 7.8ms 8.5MB 1383ms 3ms go 1.17.6
julia 1.jl 1546ms 8.7ms 258.5MB 1387ms 233ms julia 1.7.1
rust 2.rs 1756ms 0.6ms 2.8MB 1683ms 57ms rustc 1.58.0
rust 1.rs 1756ms 8.3ms 2.9MB 1620ms 120ms rustc 1.58.0
dart 2.dart 2513ms 578ms 19.9MB 1807ms 43ms dart 2.15.1
python 4.py 2782ms 0.6ms 8.8MB 2740ms 27ms cpython 3.10.1
python 4.py 2818ms 38ms 120.9MB 2773ms 30ms pypy 3.7.12
crystal 1.cr 2878ms 64ms 6.1MB 3133ms 293ms crystal 1.3.1
d 1.d 3469ms 18ms 7.9MB 3470ms 10ms ldc2 1.26.0
wasm 2.rs 3662ms 1.0ms 16.8MB 3650ms 0ms wasmedgec 0.9.0
wasm 2.rs 3683ms 1.9ms 43.6MB 3667ms 0ms wasmer/LLVM 2.1.1
wasm 2.rs 4153ms 4.6ms 49.1MB 4193ms 13ms node 16.13.2

Input: 4000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
chapel 2.chpl 145ms 0.7ms 7.5MB 143ms 0ms chpl 1.25.1
haskell 4.hs 263ms 0.5ms 20.8MB 240ms 10ms ghc 9.2.1
go 8.go 331ms 4.9ms 10.3MB 320ms 0ms go 1.17.6
rust 1.rs 370ms 0.8ms 2.6MB 357ms 3ms rustc 1.58.0
rust 2.rs 392ms 1.0ms 2.6MB 380ms 0ms rustc 1.58.0
julia 3.jl 452ms 23ms 180.8MB 327ms 130ms julia 1.7.1
python 4.py 663ms 0.2ms 8.6MB 650ms 0ms cpython 3.10.1
crystal 1.cr 708ms 13ms 5.0MB 740ms 87ms crystal 1.3.1
python 4.py 716ms 9.5ms 84.9MB 687ms 13ms pypy 3.7.12
d 1.d 823ms 3.0ms 7.8MB 810ms 3ms ldc2 1.26.0
julia 1.jl 849ms 21ms 258.2MB 707ms 187ms julia 1.7.1
wasm 2.rs 870ms 0.7ms 16.5MB 853ms 0ms wasmedgec 0.9.0
wasm 2.rs 871ms 0.8ms 43.1MB 853ms 0ms wasmer/LLVM 2.1.1
wasm 2.rs 1051ms 2.8ms 48.8MB 1103ms 7ms node 16.13.2
wasm 2.rs 1220ms 1.8ms 10.7MB 1207ms 0ms wasmtime 0.33.0
wasm 2.rs 1221ms 1.0ms 44.5MB 1210ms 0ms wasmer/Cranelift 2.1.1
wasm 2.rs 1329ms 0.9ms 38.1MB 1497ms 7ms deno 1.17.3
csharp 1.cs 1354ms 37ms 90.9MB 1283ms 57ms dotnet 6.0.101
elixir 1.ex 1367ms 29ms 48.8MB 1317ms 167ms elixir 12.2.0
csharp 1.cs 1411ms 31ms 90.9MB 1290ms 57ms dotnet/dynpgo 6.0.101
dart 2.dart 1444ms 3.9ms 21.8MB 423ms 7ms dart 2.15.1
typescript 3.ts 1525ms 22ms 47.9MB 1423ms 73ms deno 1.17.3
java 1.java 1622ms 51ms 428.4MB 1683ms 140ms graal/jvm 17.0.1
d 1.d 1623ms 2.0ms 8.5MB 1610ms 7ms dmd 2.096.1
javascript 3.js 1665ms 60ms 54.0MB 1553ms 40ms node 16.13.2
javascript 3.js 1684ms 51ms 57.3MB 1597ms 33ms node 17.3.1
java 1.java 1711ms 23ms 489.3MB 1723ms 163ms openjdk/parallelgc 17.0.1
kotlin 1.kt 1734ms 27ms 209.1MB 1960ms 100ms Kotlin/jvm 17.0.1
java 1.java 1785ms 3.8ms 193.5MB 1827ms 93ms openjdk 18
java 1.java 1790ms 43ms 205.4MB 1807ms 100ms openjdk 17.0.1
java 1.java 2139ms 42ms 846.0MB 1827ms 593ms openjdk/zgc 17.0.1
ruby 1.rb 2445ms 83ms 658.8MB 3573ms 333ms truffleruby 21.3.0
ruby 1.rb 2498ms 4.7ms 164.8MB 2423ms 63ms ruby 3.1.0
ruby 1.rb 2652ms 9.3ms 422.8MB 2443ms 193ms ruby/yjit 3.1.0
zig 1.zig 2788ms 13ms 0.4MB 983ms 1793ms zig 0.10.0-dev
swift 1.swift 3014ms 1.1ms 5.9MB 3000ms 0ms swift 5.5.2
ruby 1.rb 3102ms 419ms 165.7MB 5683ms 343ms ruby/mjit 3.1.0
v 2.v 3223ms 6.8ms 3.4MB 3297ms 140ms v+gc+zig 0.2.4
v 2.v 3224ms 19ms 3.7MB 3303ms 137ms v+gc+clang 0.2.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(kernel) compiler compiler/runtime
chapel 2.chpl 20ms 0.8ms 6.7MB 13ms 0ms chpl 1.25.1
rust 1.rs 25ms 0.2ms 2.2MB 13ms 0ms rustc 1.58.0
rust 2.rs 25ms 0.5ms 2.2MB 20ms 0ms rustc 1.58.0
go 8.go 25ms 1.0ms 10.1MB 13ms 0ms go 1.17.6
haskell 4.hs 33ms 0.0ms 17.1MB 10ms 3ms ghc 9.2.1
crystal 1.cr 47ms 2.8ms 4.8MB 33ms 3ms crystal 1.3.1
d 1.d 52ms 0.5ms 8.0MB 40ms 0ms ldc2 1.26.0
python 4.py 57ms 2.6ms 8.4MB 40ms 0ms cpython 3.10.1
wasm 2.rs 62ms 1.6ms 42.2MB 47ms 3ms wasmer/LLVM 2.1.1
wasm 2.rs 65ms 0.4ms 16.3MB 50ms 0ms wasmedgec 0.9.0
wasm 2.rs 79ms 0.8ms 11.0MB 70ms 0ms wasmtime 0.33.0
wasm 2.rs 84ms 1.3ms 44.2MB 63ms 7ms wasmer/Cranelift 2.1.1
python 4.py 98ms 0.9ms 80.2MB 67ms 17ms pypy 3.7.12
d 1.d 101ms 1.1ms 8.8MB 93ms 3ms dmd 2.096.1
javascript 3.js 126ms 8.3ms 38.0MB 100ms 17ms node 16.13.2
javascript 3.js 135ms 4.7ms 40.8MB 107ms 13ms node 17.3.1
typescript 3.ts 138ms 10ms 29.4MB 87ms 20ms deno 1.17.3
wasm 2.rs 164ms 4.6ms 37.9MB 267ms 10ms deno 1.17.3
csharp 1.cs 170ms 9.4ms 87.5MB 97ms 30ms dotnet/dynpgo 6.0.101
csharp 1.cs 171ms 7.4ms 81.3MB 97ms 30ms dotnet 6.0.101
swift 1.swift 171ms 1.0ms 5.7MB 160ms 0ms swift 5.5.2
v 2.v 178ms 1.2ms 3.1MB 173ms 3ms v+gc+clang 0.2.4
wasm 2.rs 182ms 3.8ms 48.9MB 230ms 10ms node 16.13.2
v 2.v 182ms 7.2ms 2.8MB 173ms 0ms v+gc+zig 0.2.4
ruby 1.rb 241ms 1.3ms 57.8MB 207ms 20ms ruby 3.1.0
julia 3.jl 270ms 18ms 181.4MB 177ms 143ms julia 1.7.1
elixir 1.ex 302ms 30ms 47.3MB 293ms 47ms elixir 12.2.0
java 1.java 341ms 45ms 99.2MB 393ms 20ms openjdk/parallelgc 17.0.1
kotlin 1.kt 347ms 62ms 111.0MB 417ms 33ms Kotlin/jvm 17.0.1
java 1.java 359ms 64ms 108.4MB 403ms 20ms openjdk 17.0.1
racket 1.rkt 375ms 0.4ms 67.6MB 337ms 23ms racket 8.3.0
java 1.java 376ms 7.7ms 108.0MB 387ms 37ms openjdk 18
ruby 1.rb 398ms 7.2ms 314.6MB 223ms 160ms ruby/yjit 3.1.0
java 1.java 411ms 37ms 191.9MB 373ms 140ms openjdk/zgc 17.0.1
zig 1.zig 429ms 1.8ms 0.2MB 107ms 307ms zig 0.10.0-dev
ruby 1.rb 437ms 12ms 58.2MB 713ms 70ms ruby/mjit 3.1.0
julia 1.jl 447ms 2.7ms 255.3MB 377ms 147ms julia 1.7.1
ruby 1.rb 499ms 20ms 449.2MB 540ms 167ms truffleruby 21.3.0
java 1.java 680ms 15ms 220.5MB 390ms 80ms graal/jvm 17.0.1
dart 2.dart 705ms 575ms 21.9MB 20ms 0ms dart 2.15.1
kotlin 2n.kt 987ms 19ms 15.0MB 953ms 10ms Kotlin/Native 1.6.10
nim 1.nim 1484ms 1.9ms 14.4MB 1467ms 3ms nim 1.6.2
kotlin 1n.kt 3008ms 23ms 8.2MB 2967ms 7ms Kotlin/Native 1.6.10