All pidigits 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.)

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 452ms 1.7ms 32.4MB 440ms 3ms chpl 1.31.0
go 8.go 1129ms 4.6ms 8.4MB 1110ms 7ms go 1.23.3
dart 2.dart 1243ms 4.1ms 15.0MB 1203ms 40ms dart/exe 3.5.4
rust 1.rs 1519ms 2.0ms 2.8MB 1257ms 243ms rustc 1.83.0
rust 2.rs 1706ms 6.4ms 2.8MB 1613ms 73ms rustc 1.83.0
python 4.py 1907ms 12ms 8.9MB 1853ms 37ms pyston 3.8.12
python 4.py 1961ms 9.8ms 9.5MB 1897ms 47ms cpython 3.13.0
crystal 1.cr 2001ms 73ms 6.4MB 1963ms 20ms crystal 1.14.0
wasm 2.rs 2075ms 6.3ms 37.6MB 2053ms 3ms wasmer/llvm 5.0.2
python 4.py 2141ms 12ms 89.1MB 2093ms 33ms pypy 3.10.14
wasm 2.rs 2160ms 7.6ms 19.7MB 2147ms 0ms wasmtime 27.0.0
d 1.d 2406ms 16ms 7.9MB 2367ms 377ms ldc2 1.39.0
zig 1.zig 2452ms 1.2ms 2.3MB 2417ms 20ms zig 0.13.0
acton 1-m.act 3055ms 71ms 6.1MB 2737ms 2097ms actonc 0.24.1
java 1.java 3200ms 37ms 447.4MB 3680ms 97ms graal/jvm 17.0.8
csharp 1.cs 3219ms 8.8ms 21.8MB 3090ms 130ms dotnet/aot 9.0.100
csharp 1.cs 3623ms 63ms 44.3MB 3610ms 137ms dotnet 9.0.100
java 1.java 3677ms 90ms 388.1MB 4527ms 123ms openjdk 23
java 1.java 3700ms 76ms 423.2MB 4547ms 120ms openjdk 21
kotlin 1.kt 3707ms 69ms 352.5MB 4577ms 93ms kotlin/jvm 21
d 1.d 4355ms 15ms 10.1MB 4377ms 377ms dmd 2.109.1
javascript 3.js 4746ms 11ms 91.6MB 4717ms 33ms node 23.3.0
java 1.java timeout 0.0ms 2012.2MB 4660ms 1187ms openjdk/zgc 21
kotlin 1n.kt timeout 0.0ms 20.9MB 6393ms 267ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.2MB 4993ms 160ms kotlin/native 1.8.21
ruby 1.rb timeout 0.0ms 107.6MB 4920ms 60ms ruby 3.3.6
ruby 1.rb timeout 0.0ms 108.8MB 4927ms 60ms ruby/yjit 3.3.6
ruby 1.rb timeout 0.0ms 469.5MB 13213ms 420ms truffleruby 24.1.1
swift 1.swift timeout 0.0ms 7.5MB 4933ms 53ms swift 6.0.2
typescript 3.ts timeout 0.0ms 99.9MB 4970ms 47ms deno 2.1.2
v 2.v timeout 0.0ms 7.9MB 4980ms 7ms v/clang+gc 0.4.8

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 121ms 1.7ms 34.4MB 117ms 3ms chpl 1.31.0
go 8.go 272ms 4.4ms 8.4MB 263ms 0ms go 1.23.3
dart 2.dart 318ms 3.7ms 15.0MB 297ms 17ms dart/exe 3.5.4
rust 1.rs 320ms 1.6ms 2.4MB 290ms 17ms rustc 1.83.0
rust 2.rs 379ms 3.1ms 2.5MB 360ms 3ms rustc 1.83.0
python 4.py 450ms 3.5ms 8.6MB 437ms 0ms pyston 3.8.12
crystal 1.cr 454ms 18ms 5.2MB 440ms 0ms crystal 1.14.0
python 4.py 484ms 30ms 9.1MB 470ms 0ms cpython 3.13.0
wasm 2.rs 493ms 3.2ms 39.4MB 480ms 0ms wasmer/llvm 5.0.2
wasm 2.rs 514ms 2.4ms 19.2MB 497ms 0ms wasmtime 27.0.0
python 4.py 545ms 13ms 83.5MB 503ms 27ms pypy 3.10.14
zig 1.zig 568ms 3.4ms 1.8MB 557ms 0ms zig 0.13.0
d 1.d 585ms 12ms 8.1MB 567ms 120ms ldc2 1.39.0
csharp 1.cs 760ms 6.6ms 21.2MB 727ms 20ms dotnet/aot 9.0.100
v 2.v 790ms 7.8ms 2.6MB 780ms 0ms v/clang+gc 0.4.8
acton 1-m.act 882ms 34ms 7.6MB 747ms 613ms actonc 0.24.1
java 1-m.java 918ms 18ms 448.8MB 1310ms 90ms graal/jvm 17.0.8
csharp 1.cs 983ms 4.7ms 44.0MB 1063ms 43ms dotnet 9.0.100
kotlin 1-m.kt 1004ms 32ms 354.5MB 1770ms 80ms kotlin/jvm 21
java 1-m.java 1015ms 31ms 352.4MB 1803ms 90ms openjdk 21
javascript 3.js 1029ms 1.4ms 74.0MB 1013ms 17ms node 23.3.0
d 1.d 1036ms 3.9ms 10.2MB 1010ms 113ms dmd 2.109.1
java 1-m.java 1038ms 10ms 370.6MB 1787ms 90ms openjdk 23
typescript 3.ts 1308ms 8.7ms 79.9MB 1253ms 77ms deno 2.1.2
ruby 1.rb 1669ms 22ms 108.8MB 1587ms 70ms ruby/yjit 3.3.6
ruby 1.rb 1701ms 13ms 108.5MB 1623ms 60ms ruby 3.3.6
ruby 1-m.rb 1776ms 25ms 405.6MB 4673ms 213ms truffleruby 24.1.1
swift 1.swift 1947ms 10ms 7.3MB 1933ms 0ms swift 6.0.2
java 1.java 2036ms 48ms 1391.2MB 1720ms 1087ms openjdk/zgc 21
kotlin 1n.kt timeout 0.0ms 7.4MB 6367ms 263ms kotlin/native 1.8.21
kotlin 2n.kt timeout 0.0ms 8.3MB 5000ms 160ms kotlin/native 1.8.21