Current benchmark data was generated on Tue Dec 31 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 | 317ms | 3.7ms | 13.6MB | 300ms | 3ms | ruby/yjit 3.4.1 |
1.rb | 504ms | 6.4ms | 13.0MB | 487ms | 3ms | ruby 3.4.1 |
1-m.rb | 663ms | 42ms | 381.4MB | 1143ms | 123ms | truffleruby 24.1.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4.rb | timeout | 0.0ms | 13.0MB | 4987ms | 0ms | ruby 3.4.1 |
4.rb | timeout | 0.0ms | 13.6MB | 4983ms | 3ms | ruby/yjit 3.4.1 |
4.rb | timeout | 0.0ms | 452.3MB | 5147ms | 223ms | truffleruby 24.1.1 |