All pidigits problem benchmarks

Current benchmark data was generated on Thu Feb 01 2024, full log can be found HERE


[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.)


Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 452ms 1.3ms 34.4MB 443ms 0ms chpl 1.31.0
go 8.go 1129ms 7.4ms 8.4MB 1110ms 7ms go 1.21.6
dart 2.dart 1241ms 8.6ms 14.5MB 1200ms 40ms dart/exe 3.2.6
rust 1528ms 4.6ms 2.8MB 1280ms 230ms rustc 1.75.0
rust 1712ms 3.5ms 2.7MB 1630ms 63ms rustc 1.75.0
python 1897ms 5.0ms 8.9MB 1850ms 30ms pyston 3.8.12
crystal 1944ms 14ms 6.5MB 1910ms 17ms crystal 1.11.2
python 1959ms 2.6ms 9.9MB 1910ms 33ms cpython 3.12.1
wasm 2223ms 3.0ms 19.8MB 2210ms 0ms wasmtime 17.0.0
wasm 2256ms 1.9ms 56.4MB 2277ms 30ms node 18.19.0
python 2334ms 11ms 63.4MB 2280ms 37ms pypy 3.10.13
d 1.d 2398ms 6.8ms 8.1MB 2340ms 393ms ldc2 1.36.0
zig 1.zig 2449ms 3.4ms 2.3MB 2423ms 10ms zig 0.12.0-dev.2341+92211135f
java 3191ms 33ms 448.1MB 3637ms 107ms graal/jvm 17.0.8
csharp 1.cs 3233ms 16ms 19.9MB 3110ms 137ms dotnet/aot 8.0.101
java 3685ms 53ms 351.8MB 4547ms 103ms openjdk 21
kotlin 1.kt 3719ms 43ms 355.7MB 4563ms 90ms kotlin/jvm 21
java 3771ms 108ms 349.5MB 4527ms 107ms openjdk 23
d 1.d 4263ms 7.9ms 10.1MB 4213ms 427ms dmd 2.106.1
acton 1.act timeout 0.0ms 10.8MB 7663ms 1610ms actonc 0.19.2
csharp 1.cs timeout 0.0ms 4256.5MB 3027ms 1923ms dotnet 8.0.101
java timeout 0.0ms 1824.0MB 4710ms 1153ms openjdk/zgc 21
javascript 3.js timeout 0.0ms 81.6MB 4987ms 23ms node 21.6.1
kotlin 1n.kt timeout 0.0ms 7.5MB 6490ms 283ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.2MB 4980ms 173ms kotlin/native 1.8.21
ruby 1.rb timeout 0.0ms 108.6MB 4923ms 63ms ruby 3.3.0
ruby 1.rb timeout 0.0ms 108.8MB 4913ms 70ms ruby/yjit 3.3.0
ruby 1.rb timeout 0.0ms 456.4MB 13293ms 427ms truffleruby 23.1.2
swift 1.swift timeout 0.0ms 9.9MB 4923ms 60ms swift 5.9.2
typescript 3.ts timeout 0.0ms 100.6MB 4977ms 53ms deno 1.40.2
v 2.v timeout 0.0ms 3.5MB 4983ms 7ms v/clang+gc 0.4.4

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 122ms 1.3ms 34.2MB 113ms 0ms chpl 1.31.0
go 8.go 271ms 3.7ms 8.5MB 257ms 3ms go 1.21.6
dart 2.dart 301ms 4.8ms 14.5MB 277ms 20ms dart/exe 3.2.6
rust 319ms 1.2ms 2.4MB 300ms 7ms rustc 1.75.0
rust 380ms 3.1ms 2.4MB 367ms 0ms rustc 1.75.0
python 450ms 3.6ms 8.8MB 433ms 0ms pyston 3.8.12
crystal 452ms 10ms 5.4MB 437ms 3ms crystal 1.11.2
python 466ms 5.6ms 9.6MB 450ms 0ms cpython 3.12.1
wasm 526ms 0.4ms 18.9MB 507ms 0ms wasmtime 17.0.0
wasm 567ms 0.1ms 56.3MB 590ms 23ms node 18.19.0
zig 1.zig 567ms 2.5ms 1.8MB 557ms 0ms zig 0.12.0-dev.2341+92211135f
python 569ms 8.0ms 61.9MB 537ms 13ms pypy 3.10.13
d 1.d 578ms 1.2ms 8.0MB 550ms 97ms ldc2 1.36.0
csharp 1.cs 760ms 5.7ms 19.4MB 723ms 33ms dotnet/aot 8.0.101
java 886ms 25ms 443.5MB 1233ms 90ms graal/jvm 17.0.8
kotlin 1-m.kt 976ms 35ms 353.3MB 1717ms 97ms kotlin/jvm 21
java 985ms 30ms 350.6MB 1777ms 103ms openjdk 21
d 1.d 1015ms 2.9ms 10.0MB 1003ms 87ms dmd 2.106.1
java 1029ms 9.0ms 353.0MB 1767ms 87ms openjdk 23
javascript 3.js 1127ms 3.3ms 65.6MB 1113ms 23ms node 21.6.1
typescript 3.ts 1268ms 11ms 86.3MB 1210ms 73ms deno 1.40.2
csharp 1.cs 1552ms 36ms 1164.4MB 1013ms 597ms dotnet 8.0.101
ruby 1.rb 1680ms 2.7ms 109.0MB 1597ms 67ms ruby/yjit 3.3.0
acton 1-m.act 1681ms 170ms 10.7MB 2257ms 673ms actonc 0.19.2
ruby 1.rb 1696ms 16ms 108.5MB 1610ms 70ms ruby 3.3.0
v 2.v 1784ms 29ms 3.0MB 1770ms 3ms v/clang+gc 0.4.4
swift 1.swift 1891ms 15ms 9.8MB 1873ms 0ms swift 5.9.2
ruby 1-m.rb 1925ms 70ms 409.5MB 5020ms 253ms truffleruby 23.1.2
java 1995ms 36ms 1348.5MB 1753ms 1007ms openjdk/zgc 21
kotlin 1n.kt timeout 0.0ms 7.4MB 6410ms 283ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.2MB 5020ms 130ms kotlin/native 1.8.21