Current benchmark data was generated on Thu Feb 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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 4037ms | 417ms | 123.9MB | 3920ms | 100ms | ruby/yjit 3.3.0 |
php | 1.php | timeout | 0.0ms | 141.7MB | 4960ms | 27ms | php 8.2.14 |
ruby | 1.rb | timeout | 0.0ms | 85.3MB | 4930ms | 53ms | ruby 3.3.0 |
ruby | 1.rb | timeout | 0.0ms | 679.9MB | 9080ms | 607ms | truffleruby 23.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 408ms | 6.3ms | 36.4MB | 367ms | 27ms | ruby/yjit 3.3.0 |
php | 1.php | 625ms | 4.3ms | 63.0MB | 593ms | 20ms | php 8.2.14 |
ruby | 1.rb | 856ms | 5.9ms | 36.4MB | 813ms | 20ms | ruby 3.3.0 |
ruby | 1-m.rb | 910ms | 25ms | 437.3MB | 2027ms | 183ms | truffleruby 23.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 41ms | 0.2ms | 161.9MB | 8ms | 32ms | truffleruby 23.1.2 |
php | 1.php | 52ms | 1.8ms | 52.0MB | 14ms | 24ms | php 8.2.14 |
ruby | 1.rb | 70ms | 2.0ms | 28.3MB | 46ms | 12ms | ruby 3.3.0 |
ruby | 1.rb | 72ms | 1.8ms | 28.4MB | 46ms | 16ms | ruby/yjit 3.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
php | 1.php | 4001ms | 93ms | 113.7MB | 3957ms | 27ms | php 8.2.14 |
ruby | 1.rb | timeout | 0.0ms | 87.8MB | 4917ms | 73ms | ruby 3.3.0 |
ruby | 1.rb | timeout | 0.0ms | 88.2MB | 4917ms | 67ms | ruby/yjit 3.3.0 |
ruby | 1.rb | timeout | 0.0ms | 575.9MB | 12800ms | 437ms | truffleruby 23.1.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
php | 1.php | 830ms | 5.3ms | 66.9MB | 793ms | 20ms | php 8.2.14 |
ruby | 1-m.rb | 2642ms | 152ms | 618.4MB | 6900ms | 303ms | truffleruby 23.1.2 |
ruby | 1.rb | 3031ms | 1.4ms | 46.8MB | 2987ms | 30ms | ruby/yjit 3.3.0 |
ruby | 1.rb | 4013ms | 75ms | 46.5MB | 3970ms | 23ms | ruby 3.3.0 |