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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1-m.rb | 4344ms | 5.3ms | 826.4MB | 6090ms | 430ms | truffleruby 24.1.1 |
ruby | 1.rb | 4409ms | 29ms | 110.3MB | 4317ms | 80ms | ruby/yjit 3.4.1 |
php | 1.php | timeout | 0.0ms | 142.0MB | 4957ms | 30ms | php 8.2.27 |
ruby | 1.rb | timeout | 0.0ms | 70.1MB | 4953ms | 33ms | ruby 3.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 455ms | 2.2ms | 20.4MB | 437ms | 3ms | ruby/yjit 3.4.1 |
ruby | 1-m.rb | 553ms | 55ms | 431.2MB | 1113ms | 147ms | truffleruby 24.1.1 |
php | 1.php | 577ms | 3.1ms | 63.1MB | 543ms | 17ms | php 8.2.27 |
ruby | 1.rb | 906ms | 20ms | 19.8MB | 883ms | 7ms | ruby 3.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 38ms | 1.4ms | 162.3MB | 16ms | 26ms | truffleruby 24.1.1 |
php | 1.php | 46ms | 1.1ms | 52.5MB | 14ms | 16ms | php 8.2.27 |
ruby | 1.rb | 48ms | 1.5ms | 12.9MB | 34ms | 2ms | ruby 3.4.1 |
ruby | 1.rb | 50ms | 1.0ms | 13.1MB | 36ms | 4ms | ruby/yjit 3.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 1.rb | 317ms | 3.7ms | 13.6MB | 300ms | 3ms | ruby/yjit 3.4.1 |
ruby | 1.rb | 504ms | 6.4ms | 13.0MB | 487ms | 3ms | ruby 3.4.1 |
ruby | 1-m.rb | 663ms | 42ms | 381.4MB | 1143ms | 123ms | truffleruby 24.1.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
php | 1.php | 3523ms | 15ms | 113.7MB | 3480ms | 23ms | php 8.2.27 |
ruby | 1-m.rb | 4396ms | 209ms | 539.7MB | 11230ms | 353ms | truffleruby 24.1.1 |
ruby | 1.rb | timeout | 0.0ms | 93.6MB | 4950ms | 37ms | ruby 3.4.1 |
ruby | 1.rb | timeout | 0.0ms | 97.4MB | 4930ms | 53ms | ruby/yjit 3.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
php | 1.php | 785ms | 12ms | 67.1MB | 747ms | 27ms | php 8.2.27 |
ruby | 1-m.rb | 2130ms | 105ms | 524.5MB | 5493ms | 237ms | truffleruby 24.1.1 |
ruby | 1.rb | 3111ms | 12ms | 38.4MB | 3073ms | 20ms | ruby/yjit 3.4.1 |
ruby | 1.rb | 4124ms | 30ms | 37.8MB | 4083ms | 23ms | ruby 3.4.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ruby | 4.rb | timeout | 0.0ms | 13.0MB | 4987ms | 0ms | ruby 3.4.1 |
ruby | 4.rb | timeout | 0.0ms | 13.6MB | 4983ms | 3ms | ruby/yjit 3.4.1 |
ruby | 4.rb | timeout | 0.0ms | 452.3MB | 5147ms | 223ms | truffleruby 24.1.1 |