Current benchmark data was generated on Sat Nov 16 2024, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.rb | 325ms | 1.4ms | 28.4MB | 300ms | 10ms | ruby/yjit 3.3.6 |
1.rb | 515ms | 2.8ms | 28.3MB | 483ms | 20ms | ruby 3.3.6 |
1-m.rb | 675ms | 8.6ms | 379.0MB | 1210ms | 120ms | truffleruby 24.1.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4.rb | timeout | 0.0ms | 28.1MB | 4963ms | 17ms | ruby 3.3.6 |
4.rb | timeout | 0.0ms | 28.3MB | 4963ms | 20ms | ruby/yjit 3.3.6 |
4.rb | timeout | 0.0ms | 442.6MB | 5190ms | 203ms | truffleruby 24.1.1 |