Current benchmark data was generated on Sun Dec 01 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 | 327ms | 4.3ms | 28.4MB | 293ms | 20ms | ruby/yjit 3.3.6 |
1.rb | 541ms | 51ms | 28.3MB | 510ms | 17ms | ruby 3.3.6 |
1-m.rb | 688ms | 35ms | 390.9MB | 1207ms | 143ms | truffleruby 24.1.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4.rb | timeout | 0.0ms | 28.1MB | 4970ms | 20ms | ruby 3.3.6 |
4.rb | timeout | 0.0ms | 28.3MB | 4967ms | 17ms | ruby/yjit 3.3.6 |
4.rb | timeout | 0.0ms | 455.7MB | 5143ms | 237ms | truffleruby 24.1.1 |