All coro-prime-sieve problem benchmarks

Current benchmark data was generated on Tue Dec 31 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.)

coro-prime-sieve

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-m.go 472ms 45ms 15.6MB 1830ms 3ms go 1.23.4
rust 3-m.rs 532ms 58ms 11.0MB 2017ms 47ms rustc 1.83.0
rust 5-m.rs 590ms 52ms 7.4MB 2213ms 77ms rustc 1.83.0
rust 1-m.rs 937ms 10ms 12.3MB 3370ms 293ms rustc 1.83.0
wasm 3.rs 1074ms 15ms 23.1MB 1060ms 3ms wasmtime 28.0.0
rust 3.rs 1091ms 13ms 9.3MB 1040ms 37ms rustc 1.83.0
python 1.py 1119ms 8.2ms 102.5MB 1053ms 50ms pypy 3.10.14
go 1.go 1209ms 15ms 256.6MB 1177ms 20ms tinygo 0.35.0
typescript 1.ts 1274ms 2.7ms 90.8MB 1303ms 50ms deno 2.1.4
crystal 1.cr 1297ms 25ms 20.1MB 1213ms 63ms crystal 1.14.0
ruby 1.rb 1314ms 25ms 63.9MB 1223ms 70ms ruby/yjit 3.4.1
javascript 1.js 1518ms 12ms 94.5MB 1590ms 53ms node 23.5.0
ruby 1.rb 1787ms 48ms 63.1MB 1703ms 70ms ruby 3.4.1
kotlin 2-m.kt 1799ms 182ms 235.5MB 6667ms 90ms kotlin/jvm 21
rust 4.rs 1822ms 11ms 7.4MB 1810ms 0ms rustc 1.83.0
java 1-m.java 1839ms 107ms 260.2MB 6950ms 100ms openjdk 21
csharp 1-m.cs 2035ms 57ms 64.6MB 7020ms 97ms dotnet/aot 9.0.101
kotlin 1.kt 2058ms 23ms 217.3MB 2833ms 57ms kotlin/jvm 21
javascript 1.js 2118ms 133ms 100.0MB 2147ms 50ms bun 1.1.42
chapel 1-m.chpl 2149ms 35ms 527.8MB 4187ms 63ms chpl 1.31.0
java 1-m.java 2281ms 118ms 242.8MB 8683ms 107ms openjdk 23
java 1-m.java 2455ms 149ms 1194.8MB 7670ms 997ms openjdk/zgc 21
csharp 1-m.cs 2504ms 195ms 88.3MB 7747ms 103ms dotnet 9.0.101
dart 1.dart 4761ms 115ms 19.3MB 5287ms 80ms dart/exe 3.6.0
d 1.d timeout 0.0ms 16.5MB 4973ms 17ms dmd 2.109.1
d 1.d timeout 0.0ms 15.6MB 4960ms 23ms ldc2 1.40.0
kotlin 1.kt timeout 0.0ms 14.8MB 6030ms 500ms kotlin/native 1.8.21
kotlin 2-m.kt timeout 0.0ms 52.1MB 19097ms 113ms kotlin/native 1.8.21
nim 1.nim timeout 0.0ms 570.6MB 2543ms 1987ms nim/clang 2.2.0
nim 1.nim timeout 0.0ms 561.4MB 2450ms 2080ms nim 2.2.0
python 1.py timeout 0.0ms 21.3MB 4980ms 3ms cpython 3.13.1
python 1.py timeout 0.0ms 17.4MB 4980ms 7ms pyston 3.8.12
ruby 1.rb timeout 0.0ms 724.7MB 4503ms 1623ms truffleruby 24.1.1
v 1.v timeout 0.0ms 23.0MB 9637ms 9960ms v/clang+gc 0.4.9
v 1.v timeout 0.0ms 22.5MB 9673ms 9930ms v/clang 0.4.9

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-m.go 39ms 6.3ms 7.5MB 127ms 0ms go 1.23.4
rust 5-m.rs 50ms 2.6ms 5.3MB 133ms 20ms rustc 1.83.0
rust 3-m.rs 52ms 1.5ms 7.9MB 150ms 20ms rustc 1.83.0
crystal 1.cr 69ms 2.7ms 7.5MB 47ms 10ms crystal 1.14.0
rust 3.rs 73ms 3.0ms 4.0MB 60ms 0ms rustc 1.83.0
wasm 3.rs 76ms 1.9ms 19.5MB 57ms 3ms wasmtime 28.0.0
rust 1-m.rs 77ms 7.5ms 5.8MB 220ms 50ms rustc 1.83.0
rust 4.rs 110ms 2.4ms 3.4MB 100ms 0ms rustc 1.83.0
typescript 1.ts 138ms 0.7ms 75.2MB 113ms 23ms deno 2.1.4
ruby 1.rb 146ms 0.8ms 25.6MB 120ms 13ms ruby/yjit 3.4.1
javascript 1.js 147ms 3.0ms 76.6MB 137ms 17ms node 23.5.0
csharp 1-m.cs 154ms 8.5ms 31.8MB 397ms 23ms dotnet/aot 9.0.101
javascript 1.js 171ms 7.3ms 85.4MB 197ms 23ms bun 1.1.42
ruby 1.rb 171ms 2.8ms 25.3MB 137ms 27ms ruby 3.4.1
chapel 1-m.chpl 183ms 18ms 488.7MB 287ms 40ms chpl 1.31.0
python 1.py 203ms 0.3ms 84.2MB 163ms 27ms pypy 3.10.14
go 1.go 214ms 5.5ms 65.8MB 200ms 3ms tinygo 0.35.0
csharp 1-m.cs 255ms 8.9ms 49.5MB 703ms 13ms dotnet 9.0.101
dart 1.dart 317ms 3.7ms 10.0MB 323ms 3ms dart/exe 3.6.0
kotlin 2-m.kt 366ms 8.9ms 38.2MB 1350ms 13ms kotlin/native 1.8.21
java 1-m.java 393ms 19ms 91.0MB 1263ms 60ms openjdk 23
java 1-m.java 413ms 23ms 131.0MB 1357ms 63ms openjdk 21
kotlin 1-m.kt 450ms 15ms 73.3MB 1017ms 37ms kotlin/jvm 21
python 1.py 554ms 29ms 20.5MB 530ms 3ms cpython 3.13.1
python 1.py 598ms 6.9ms 16.8MB 577ms 10ms pyston 3.8.12
java 1-m.java 622ms 34ms 224.1MB 1667ms 243ms openjdk/zgc 21
kotlin 1.kt 646ms 7.8ms 10.8MB 807ms 53ms kotlin/native 1.8.21
kotlin 2-m.kt 757ms 71ms 99.7MB 2643ms 70ms kotlin/jvm 21
d 1.d 957ms 7.3ms 10.2MB 940ms 3ms ldc2 1.40.0
d 1.d 1242ms 5.8ms 10.6MB 1223ms 3ms dmd 2.109.1
v 1-m.v 2894ms 124ms 15.6MB 5423ms 5930ms v/clang 0.4.9
v 1-m.v 3059ms 212ms 16.3MB 5860ms 6127ms v/clang+gc 0.4.9
nim 1.nim 4127ms 12ms 519.8MB 2037ms 1663ms nim/clang 2.2.0
nim 1.nim 4262ms 22ms 519.3MB 2010ms 1827ms nim 2.2.0
ruby 1.rb timeout 0.0ms 721.5MB 4623ms 1523ms truffleruby 24.1.1