Current benchmark data was generated on Mon May 19 2025, 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 | 346ms | 5.9ms | 13.5MB | 327ms | 7ms | ruby/yjit 3.4.4 |
1.rb | 528ms | 2.9ms | 12.9MB | 510ms | 10ms | ruby 3.4.4 |
1-m.rb | 672ms | 40ms | 371.0MB | 1197ms | 137ms | truffleruby 24.2.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4.rb | timeout | 0.0ms | 12.9MB | 4980ms | 3ms | ruby 3.4.4 |
4.rb | timeout | 0.0ms | 13.5MB | 4980ms | 3ms | ruby/yjit 3.4.4 |
4.rb | timeout | 0.0ms | 442.8MB | 5163ms | 247ms | truffleruby 24.2.1 |