Current benchmark data was generated on Thu Dec 26 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 |
---|---|---|---|---|---|---|---|
zig | 2.zig | 273ms | 0.2ms | 1.1MB | 267ms | 0ms | zig 0.13.0 |
zig | 1.zig | 314ms | 1.8ms | 1.3MB | 303ms | 0ms | zig 0.13.0 |
lua | 4.lua | 714ms | 4.3ms | 2.3MB | 707ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 478ms | 4.2ms | 3.8MB | 1560ms | 13ms | zig 0.13.0 |
zig | 2.zig | 918ms | 6.5ms | 1.5MB | 907ms | 0ms | zig 0.13.0 |
zig | 1.zig | 3680ms | 7.2ms | 1.5MB | 3670ms | 0ms | zig 0.13.0 |
lua | 1.lua | 4056ms | 4.7ms | 2.5MB | 4043ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4987ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 126ms | 2.0ms | 3.7MB | 277ms | 3ms | zig 0.13.0 |
zig | 2.zig | 232ms | 2.3ms | 1.4MB | 223ms | 0ms | zig 0.13.0 |
zig | 1.zig | 919ms | 1.8ms | 1.4MB | 907ms | 0ms | zig 0.13.0 |
lua | 1.lua | 1020ms | 5.9ms | 2.4MB | 1007ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 39ms | 1.1ms | 3.7MB | 33ms | 0ms | zig 0.13.0 |
zig | 2.zig | 60ms | 0.6ms | 1.4MB | 50ms | 0ms | zig 0.13.0 |
zig | 1.zig | 233ms | 1.3ms | 1.4MB | 220ms | 0ms | zig 0.13.0 |
lua | 1.lua | 260ms | 0.9ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | lua 5.4.7 |