All coro-prime-sieve 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: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
python 301ms 0.9ms 20.4MB 277ms 7ms cpython 3.12.1
go 1-m.go 464ms 54ms 15.4MB 1767ms 0ms go 1.21.6
rust 535ms 34ms 11.1MB 1983ms 70ms rustc 1.75.0
rust 590ms 45ms 7.9MB 2197ms 70ms rustc 1.75.0
rust 1011ms 8.9ms 12.4MB 3597ms 360ms rustc 1.75.0
rust 1111ms 11ms 9.3MB 1060ms 33ms rustc 1.75.0
wasm 1207ms 4.1ms 55.8MB 1250ms 20ms node 18.19.0
wasm 1234ms 9.3ms 21.1MB 1217ms 3ms wasmtime 17.0.0
rust 1363ms 6.2ms 7.6MB 1343ms 3ms rustc 1.75.0
ruby 1.rb 1431ms 5.5ms 78.5MB 1337ms 77ms ruby/yjit 3.3.0
typescript 1.ts 1435ms 3.7ms 90.9MB 1497ms 53ms deno 1.40.2
java 1479ms 121ms 258.9MB 5493ms 127ms openjdk 23
crystal 1546ms 60ms 20.6MB 1490ms 40ms crystal 1.11.2
javascript 1.js 1658ms 4.8ms 83.7MB 1777ms 50ms node 21.6.1
kotlin 2-m.kt 1773ms 358ms 242.2MB 6577ms 93ms kotlin/jvm 21
ruby 1.rb 1779ms 29ms 78.3MB 1693ms 70ms ruby 3.3.0
java 1911ms 174ms 261.1MB 7210ms 130ms openjdk 21
kotlin 1.kt 2141ms 6.2ms 220.2MB 3003ms 67ms kotlin/jvm 21
chapel 1-m.chpl 2296ms 27ms 506.1MB 4477ms 70ms chpl 1.31.0
csharp 1-m.cs 2301ms 32ms 38.5MB 7933ms 73ms dotnet/aot 8.0.101
javascript 1.js 2362ms 19ms 128.2MB 2397ms 37ms bun 1.0.25
go 1.go 2438ms 2.9ms 256.6MB 2400ms 23ms tinygo 0.30.0
csharp 1-m.cs 2776ms 120ms 746.6MB 7507ms 713ms dotnet 8.0.101
java 2816ms 55ms 1230.1MB 8900ms 1077ms openjdk/zgc 21
python 3056ms 23ms 116.4MB 2993ms 47ms pypy 3.10.13
d 1.d timeout 0.0ms 16.5MB 4960ms 23ms dmd 2.106.1
d 1.d timeout 0.0ms 15.5MB 4967ms 20ms ldc2 1.36.0
dart 1.dart timeout 0.0ms 20.3MB 4943ms 67ms dart/exe 3.2.6
kotlin 1.kt timeout 0.0ms 14.8MB 6140ms 457ms kotlin/native 1.8.21
kotlin 2-m.kt timeout 0.0ms 72.9MB 19063ms 127ms kotlin/native 1.8.21
nim 1.nim timeout 0.0ms 558.6MB 2537ms 1997ms nim/clang 2.0.2
nim 1.nim timeout 0.0ms 549.4MB 2490ms 2053ms nim 2.0.2
python timeout 0.0ms 17.3MB 4980ms 7ms pyston 3.8.12
ruby 1.rb timeout 0.0ms 717.5MB 4877ms 1427ms truffleruby 23.1.2
v 1.v timeout 0.0ms 23.9MB 9513ms 10017ms v/clang+gc 0.4.4
v 1.v timeout 0.0ms 22.4MB 9170ms 10407ms v/clang 0.4.4

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-m.go 39ms 4.8ms 7.2MB 127ms 0ms go 1.21.6
rust 48ms 3.9ms 8.1MB 147ms 7ms rustc 1.75.0
rust 51ms 0.9ms 5.4MB 137ms 23ms rustc 1.75.0
rust 70ms 3.0ms 4.1MB 60ms 3ms rustc 1.75.0
rust 82ms 7.0ms 7.7MB 237ms 40ms rustc 1.75.0
rust 82ms 1.0ms 3.3MB 70ms 0ms rustc 1.75.0
crystal 82ms 3.7ms 7.6MB 60ms 13ms crystal 1.11.2
wasm 89ms 3.1ms 19.7MB 77ms 0ms wasmtime 17.0.0
wasm 129ms 0.6ms 57.2MB 157ms 23ms node 18.19.0
typescript 1.ts 155ms 2.8ms 71.7MB 133ms 27ms deno 1.40.2
csharp 1-m.cs 159ms 15ms 29.8MB 443ms 20ms dotnet/aot 8.0.101
javascript 1.js 163ms 1.9ms 64.0MB 143ms 17ms node 21.6.1
ruby 1.rb 169ms 1.3ms 40.5MB 127ms 27ms ruby/yjit 3.3.0
javascript 1.js 175ms 0.4ms 120.8MB 193ms 17ms bun 1.0.25
ruby 1.rb 190ms 2.2ms 40.3MB 133ms 40ms ruby 3.3.0
chapel 1-m.chpl 203ms 23ms 450.8MB 333ms 33ms chpl 1.31.0
python 292ms 2.9ms 82.9MB 243ms 30ms pypy 3.10.13
csharp 1-m.cs 294ms 6.8ms 93.7MB 733ms 47ms dotnet 8.0.101
python 303ms 0.9ms 20.4MB 280ms 7ms cpython 3.12.1
java 370ms 49ms 84.9MB 1203ms 50ms openjdk 23
dart 1.dart 373ms 5.3ms 10.3MB 350ms 13ms dart/exe 3.2.6
go 1.go 387ms 1.7ms 65.8MB 373ms 0ms tinygo 0.30.0
kotlin 2-m.kt 404ms 0.7ms 32.8MB 1477ms 27ms kotlin/native 1.8.21
java 436ms 31ms 123.1MB 1460ms 57ms openjdk 21
kotlin 1-m.kt 465ms 18ms 74.9MB 1057ms 50ms kotlin/jvm 21
python 653ms 8.2ms 16.8MB 637ms 0ms pyston 3.8.12
java 668ms 28ms 216.5MB 1783ms 257ms openjdk/zgc 21
kotlin 1.kt 683ms 4.2ms 10.8MB 820ms 57ms kotlin/native 1.8.21
kotlin 2-m.kt 912ms 14ms 99.8MB 3203ms 77ms kotlin/jvm 21
d 1.d 1000ms 15ms 8.4MB 987ms 3ms ldc2 1.36.0
d 1.d 1350ms 2.3ms 10.5MB 1327ms 13ms dmd 2.106.1
v 1-m.v 2663ms 268ms 15.7MB 5030ms 5380ms v/clang 0.4.4
v 1-m.v 2805ms 118ms 20.3MB 5200ms 5773ms v/clang+gc 0.4.4
nim 1.nim 4326ms 9.0ms 519.8MB 2247ms 1653ms nim/clang 2.0.2
nim 1.nim 4400ms 29ms 519.4MB 2180ms 1793ms nim 2.0.2
ruby 1.rb timeout 0.0ms 730.8MB 4667ms 1557ms truffleruby 23.1.2