All coro-prime-sieve problem benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz (Model 85)

* -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
lua 1.lua 650ms 14ms 5.0MB 633ms 0ms luajit 2.1.0-beta3
rust 5-m.rs 1156ms 57ms 5.2MB 2180ms 47ms rustc 1.62.0
rust 3-m.rs 1262ms 125ms 6.2MB 2403ms 47ms rustc 1.62.0
wasm 3.rs 1561ms 21ms 8.4MB 1543ms 0ms wasmer/llvm 2.3.0
go 1-m.go 1567ms 308ms 13.5MB 2900ms 10ms go 1.18.3
python 1.py 1616ms 11ms 221.3MB 1493ms 103ms pypy 3.8.13
wasm 3.rs 1846ms 11ms 47.6MB 1897ms 20ms node 16.15.1
wasm 3.rs 1952ms 36ms 12.6MB 1927ms 7ms wasmtime 0.38.1
hacklang 1.hack 2219ms 9.4ms 177.3MB 2153ms 50ms hhvm 4.163.0
rust 3.rs 2259ms 28ms 6.5MB 2203ms 37ms rustc 1.62.0
go 1.go 2357ms 27ms 253.6MB 2267ms 70ms tinygo 0.23.0
typescript 1.ts 2369ms 68ms 70.3MB 2393ms 37ms deno 1.23.2
crystal 1.cr 2705ms 26ms 22.1MB 2643ms 47ms crystal 1.4.1
javascript 1.js 2845ms 39ms 81.0MB 2903ms 70ms node 18.4.0
kotlin 2-m.kt 3367ms 142ms 156.0MB 6337ms 113ms kotlin/jvm 17.0.2
rust 4.rs 3808ms 8.6ms 4.4MB 3793ms 3ms rustc 1.62.0
kotlin 1.kt 3867ms 18ms 159.8MB 4930ms 100ms kotlin/jvm 17.0.2
rust 1-m.rs 4027ms 100ms 5.4MB 7733ms 123ms rustc 1.62.0
ruby 1.rb 4458ms 33ms 336.6MB 4230ms 207ms ruby/yjit 3.1.2
csharp 1.cs timeout 0.0ms 0.0MB 0ms 0ms dotnet 6.0.301
chapel 1.chpl timeout 0.0ms 0.0MB 0ms 0ms chpl 1.27.0
d 1.d timeout 0.0ms 0.0MB 0ms 0ms dmd 2.100.0
d 1.d timeout 0.0ms 0.0MB 0ms 0ms ldc2 1.29.0
dart 1.dart timeout 0.0ms 0.0MB 0ms 0ms dart/exe 2.17.5
elixir 1.ex timeout 0.0ms 0.0MB 0ms 0ms elixir 12.3.2
java 1.java timeout 0.0ms 0.0MB 0ms 0ms loom 19
kotlin 1.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.0
kotlin 2-m.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/native 1.7.0
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6
python 1.py timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.5
python 1.py timeout 0.0ms 0.0MB 0ms 0ms pyston 3.8.12
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms ruby 3.1.2
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms truffleruby 22.1.0
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.0
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang 0.3.0

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
lua 1.lua 43ms 2.6ms 2.9MB 30ms 0ms luajit 2.1.0-beta3
go 1-m.go 80ms 13ms 5.4MB 137ms 0ms go 1.18.3
rust 3-m.rs 92ms 4.5ms 3.0MB 150ms 3ms rustc 1.62.0
wasm 3.rs 98ms 0.1ms 6.9MB 83ms 0ms wasmer/llvm 2.3.0
rust 5-m.rs 114ms 30ms 3.0MB 193ms 7ms rustc 1.62.0
wasm 3.rs 130ms 1.9ms 12.0MB 113ms 0ms wasmtime 0.38.1
rust 3.rs 139ms 4.8ms 3.1MB 130ms 0ms rustc 1.62.0
crystal 1.cr 154ms 7.7ms 9.7MB 137ms 3ms crystal 1.4.1
typescript 1.ts 201ms 5.5ms 44.8MB 187ms 10ms deno 1.23.2
rust 4.rs 249ms 3.1ms 2.6MB 233ms 0ms rustc 1.62.0
wasm 3.rs 259ms 5.6ms 47.7MB 307ms 20ms node 16.15.1
rust 1-m.rs 272ms 5.3ms 3.0MB 497ms 7ms rustc 1.62.0
javascript 1.js 274ms 12ms 61.5MB 250ms 27ms node 18.4.0
go 1.go 317ms 4.0ms 64.5MB 283ms 17ms tinygo 0.23.0
chapel 1-m.chpl 345ms 13ms 28.2MB 637ms 0ms chpl 1.27.0
python 1.py 354ms 1.8ms 92.2MB 317ms 23ms pypy 3.8.13
ruby 1.rb 354ms 0.8ms 42.3MB 307ms 33ms ruby 3.1.2
csharp 1-m.cs 503ms 12ms 73.5MB 783ms 40ms dotnet 6.0.301
ruby 1.rb 508ms 9.7ms 298.8MB 317ms 177ms ruby/yjit 3.1.2
elixir 1.ex 652ms 16ms 47.7MB 673ms 63ms elixir 12.3.2
java 1-m.java 791ms 57ms 95.3MB 1337ms 60ms loom 19
kotlin 1-m.kt 860ms 26ms 94.2MB 1500ms 60ms kotlin/jvm 17.0.2
python 1.py 1037ms 6.6ms 17.1MB 1013ms 7ms pyston 3.8.12
python 1.py 1088ms 16ms 16.9MB 1060ms 10ms cpython 3.10.5
hacklang 1.hack 1166ms 17ms 177.1MB 1083ms 63ms hhvm 4.163.0
kotlin 2-m.kt 1227ms 32ms 28.1MB 2170ms 53ms kotlin/native 1.7.0
kotlin 2-m.kt 1355ms 122ms 105.6MB 2447ms 77ms kotlin/jvm 17.0.2
kotlin 1.kt 1447ms 17ms 10.5MB 1660ms 10ms kotlin/native 1.7.0
d 1.d 1537ms 15ms 10.3MB 1513ms 7ms ldc2 1.29.0
dart 1.dart 1577ms 9.5ms 226.8MB 1450ms 207ms dart/exe 2.17.5
d 1.d 2073ms 22ms 9.4MB 2040ms 13ms dmd 2.100.0
v 1-m.v 2933ms 427ms 20.5MB 2933ms 2563ms v/clang+gc 0.3.0
v 1-m.v 3177ms 445ms 20.5MB 3143ms 2783ms v/clang 0.3.0
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim/clang 1.6.6
nim 1.nim timeout 0.0ms 0.0MB 0ms 0ms nim 1.6.6
ruby 1.rb timeout 0.0ms 0.0MB 0ms 0ms truffleruby 22.1.0