Current benchmark data was generated on Tue Apr 01 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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 1809ms | 60ms | 33.1MB | 1790ms | 7ms | wasmtime 31.0.0 |
wasm | 3.rs | 1854ms | 16ms | 49.2MB | 1827ms | 17ms | wasmtime 31.0.0 |
wasm | 4.rs | 1863ms | 11ms | 33.2MB | 1840ms | 10ms | wasmtime 31.0.0 |
ruby | 1-m.rb | 4767ms | 126ms | 811.9MB | 6707ms | 477ms | truffleruby 24.2.0 |
ruby | 1.rb | 4863ms | 1.8ms | 109.4MB | 4763ms | 83ms | ruby/yjit 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 70.1MB | 4940ms | 43ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 5.rs | 174ms | 4.1ms | 19.3MB | 157ms | 0ms | wasmtime 31.0.0 |
wasm | 3.rs | 180ms | 2.4ms | 21.1MB | 163ms | 0ms | wasmtime 31.0.0 |
wasm | 4.rs | 181ms | 4.0ms | 19.2MB | 163ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 508ms | 33ms | 20.3MB | 483ms | 10ms | ruby/yjit 3.4.2 |
ruby | 1-m.rb | 555ms | 69ms | 418.8MB | 1097ms | 167ms | truffleruby 24.2.0 |
ruby | 1.rb | 928ms | 2.7ms | 19.6MB | 903ms | 10ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 3.rs | 1133ms | 6.8ms | 19.4MB | 1117ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 1459ms | 16ms | 63.8MB | 1383ms | 60ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 1869ms | 36ms | 63.1MB | 1790ms | 63ms | ruby 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 344.5MB | 4627ms | 1523ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 3.rs | 82ms | 1.6ms | 17.7MB | 70ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 158ms | 1.9ms | 25.6MB | 127ms | 20ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 188ms | 3.4ms | 25.1MB | 157ms | 20ms | ruby 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 346.9MB | 4623ms | 1517ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 237ms | 2.6ms | 17.5MB | 223ms | 3ms | wasmtime 31.0.0 |
ruby | 6.rb | 2077ms | 33ms | 23.0MB | 2053ms | 10ms | ruby/yjit 3.4.2 |
ruby | 6-m.rb | 2154ms | 27ms | 419.9MB | 5600ms | 347ms | truffleruby 24.2.0 |
ruby | 6.rb | 3878ms | 66ms | 22.5MB | 3853ms | 13ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 32ms | 0.9ms | 17.3MB | 20ms | 0ms | wasmtime 31.0.0 |
ruby | 6.rb | 265ms | 3.1ms | 15.0MB | 247ms | 7ms | ruby/yjit 3.4.2 |
ruby | 6.rb | 439ms | 2.9ms | 14.5MB | 420ms | 3ms | ruby 3.4.2 |
ruby | 6-m.rb | 812ms | 40ms | 382.1MB | 2017ms | 183ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 7.3ms | 1.3ms | 17.4MB | 0ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 35ms | 0.3ms | 139.0MB | 12ms | 24ms | truffleruby 24.2.0 |
ruby | 1.rb | 53ms | 1.0ms | 13.1MB | 40ms | 2ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 54ms | 1.4ms | 12.9MB | 40ms | 2ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 90ms | 0.5ms | 17.4MB | 80ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 331ms | 1.9ms | 13.5MB | 313ms | 3ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 541ms | 20ms | 13.0MB | 527ms | 3ms | ruby 3.4.2 |
ruby | 1-m.rb | 654ms | 36ms | 370.3MB | 1150ms | 157ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 255ms | 5.4ms | 16.9MB | 240ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 876ms | 8.2ms | 13.5MB | 857ms | 7ms | ruby/yjit 3.4.2 |
ruby | 1-m.rb | 1234ms | 21ms | 404.6MB | 1727ms | 163ms | truffleruby 24.2.0 |
ruby | 1.rb | 1479ms | 10ms | 13.0MB | 1457ms | 10ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 48ms | 1.5ms | 17.4MB | 37ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | 192ms | 1.5ms | 13.5MB | 170ms | 7ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 292ms | 3.4ms | 12.9MB | 277ms | 0ms | ruby 3.4.2 |
ruby | 1-m.rb | 512ms | 30ms | 361.1MB | 973ms | 137ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 939ms | 69ms | 41.1MB | 913ms | 13ms | wasmtime 31.0.0 |
ruby | 1-m.rb | 4430ms | 469ms | 527.4MB | 11217ms | 380ms | truffleruby 24.2.0 |
ruby | 1.rb | timeout | 0.0ms | 93.6MB | 4933ms | 50ms | ruby 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 94.8MB | 4940ms | 50ms | ruby/yjit 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 201ms | 2.9ms | 23.2MB | 183ms | 0ms | wasmtime 31.0.0 |
ruby | 1-m.rb | 1938ms | 44ms | 591.3MB | 5030ms | 250ms | truffleruby 24.2.0 |
ruby | 1.rb | 3421ms | 15ms | 38.3MB | 3377ms | 30ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 4437ms | 12ms | 37.8MB | 4397ms | 27ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 413ms | 2.3ms | 17.1MB | 400ms | 0ms | wasmtime 31.0.0 |
wasm | 2.rs | 587ms | 3.1ms | 17.0MB | 573ms | 0ms | wasmtime 31.0.0 |
ruby | 2.rb | 827ms | 10ms | 306.8MB | 1060ms | 120ms | truffleruby 24.2.0 |
ruby | 2.rb | timeout | 0.0ms | 12.9MB | 4980ms | 7ms | ruby 3.4.2 |
ruby | 2.rb | timeout | 0.0ms | 13.5MB | 4980ms | 7ms | ruby/yjit 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 50ms | 1.6ms | 17.1MB | 37ms | 0ms | wasmtime 31.0.0 |
wasm | 2.rs | 67ms | 0.7ms | 17.4MB | 53ms | 0ms | wasmtime 31.0.0 |
ruby | 2-m.rb | 312ms | 17ms | 309.9MB | 547ms | 110ms | truffleruby 24.2.0 |
ruby | 2.rb | 1069ms | 6.2ms | 13.5MB | 1050ms | 7ms | ruby/yjit 3.4.2 |
ruby | 2.rb | 2781ms | 57ms | 12.9MB | 2763ms | 7ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 376ms | 5.1ms | 22.0MB | 360ms | 0ms | wasmtime 31.0.0 |
wasm | 1.rs | 510ms | 12ms | 56.1MB | 493ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | timeout | 0.0ms | 325.4MB | 4843ms | 140ms | ruby 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 327.0MB | 4850ms | 137ms | ruby/yjit 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 695.1MB | 5063ms | 153ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 1.rs | 99ms | 4.3ms | 27.0MB | 83ms | 0ms | wasmtime 31.0.0 |
wasm | 2.rs | 100ms | 2.4ms | 18.4MB | 83ms | 7ms | wasmtime 31.0.0 |
ruby | 1-m.rb | 1704ms | 22ms | 482.3MB | 2477ms | 170ms | truffleruby 24.2.0 |
ruby | 1.rb | 3396ms | 18ms | 131.8MB | 3303ms | 80ms | ruby/yjit 3.4.2 |
ruby | 1.rb | 4463ms | 12ms | 131.1MB | 4370ms | 77ms | ruby 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 2211ms | 7.5ms | 18.2MB | 2197ms | 0ms | wasmtime 31.0.0 |
ruby | 1.rb | timeout | 0.0ms | 46.5MB | 4930ms | 60ms | ruby 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 47.1MB | 4923ms | 60ms | ruby/yjit 3.4.2 |
ruby | 1.rb | timeout | 0.0ms | 443.3MB | 13133ms | 447ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 531ms | 6.4ms | 17.6MB | 513ms | 0ms | wasmtime 31.0.0 |
ruby | 1-m.rb | 1605ms | 209ms | 383.3MB | 4227ms | 207ms | truffleruby 24.2.0 |
ruby | 1.rb | 1696ms | 3.3ms | 46.1MB | 1657ms | 27ms | ruby 3.4.2 |
ruby | 1.rb | 1784ms | 9.6ms | 127.6MB | 1637ms | 133ms | ruby/yjit 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 3602ms | 4.5ms | 16.9MB | 3587ms | 0ms | wasmtime 31.0.0 |
wasm | 7.rs | 4912ms | 16ms | 16.9MB | 4897ms | 0ms | wasmtime 31.0.0 |
ruby | 4.rb | timeout | 0.0ms | 12.9MB | 4987ms | 0ms | ruby 3.4.2 |
ruby | 4.rb | timeout | 0.0ms | 13.5MB | 4983ms | 3ms | ruby/yjit 3.4.2 |
ruby | 4.rb | timeout | 0.0ms | 425.1MB | 5170ms | 247ms | truffleruby 24.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 910ms | 0.9ms | 16.7MB | 897ms | 0ms | wasmtime 31.0.0 |
wasm | 7.rs | 1240ms | 9.5ms | 16.9MB | 1230ms | 0ms | wasmtime 31.0.0 |
ruby | 4.rb | 4858ms | 56ms | 417.3MB | 5143ms | 210ms | truffleruby 24.2.0 |
ruby | 4.rb | timeout | 0.0ms | 12.9MB | 4983ms | 7ms | ruby 3.4.2 |
ruby | 4.rb | timeout | 0.0ms | 13.5MB | 4980ms | 7ms | ruby/yjit 3.4.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
wasm | 2.rs | 235ms | 1.1ms | 17.2MB | 220ms | 0ms | wasmtime 31.0.0 |
wasm | 7.rs | 321ms | 11ms | 16.8MB | 307ms | 0ms | wasmtime 31.0.0 |
ruby | 4.rb | 1459ms | 49ms | 378.8MB | 1800ms | 147ms | truffleruby 24.2.0 |
ruby | 4.rb | timeout | 0.0ms | 13.0MB | 4983ms | 0ms | ruby 3.4.2 |
ruby | 4.rb | timeout | 0.0ms | 13.8MB | 4980ms | 3ms | ruby/yjit 3.4.2 |