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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 835ms | 5.3ms | 34.4MB | 813ms | 7ms | nim 2.0.2 |
nim | 2.nim | 1170ms | 1.0ms | 34.7MB | 1150ms | 7ms | nim/clang 2.0.2 |
lua | 1.lua | 3568ms | 87ms | 172.9MB | 3433ms | 120ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 105.0MB | 4950ms | 40ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 553ms | 0.7ms | 34.4MB | 533ms | 3ms | nim 2.0.2 |
nim | 1.nim | 653ms | 8.9ms | 36.5MB | 633ms | 3ms | nim/clang 2.0.2 |
lua | 1.lua | timeout | 0.0ms | 107.4MB | 4950ms | 40ms | lua 5.4.6 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4937ms | 53ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 122ms | 0.7ms | 9.8MB | 110ms | 0ms | nim 2.0.2 |
nim | 1.nim | 143ms | 2.1ms | 10.0MB | 130ms | 0ms | nim/clang 2.0.2 |
lua | 1.lua | 1196ms | 6.5ms | 31.3MB | 1160ms | 20ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2323ms | 26ms | 28.8MB | 2303ms | 3ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 318ms | 1.0ms | 1.8MB | 310ms | 0ms | nim 2.0.2 |
nim | 2.nim | 343ms | 3.5ms | 2.0MB | 333ms | 0ms | nim/clang 2.0.2 |
lua | 4.lua | 707ms | 1.1ms | 2.4MB | 697ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.9ms | 1.6MB | 3567ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 3591ms | 12ms | 1.4MB | 3580ms | 0ms | nim 2.0.2 |
lua | 1.lua | 4049ms | 5.8ms | 2.5MB | 4037ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 895ms | 0.8ms | 1.5MB | 887ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 899ms | 2.9ms | 1.8MB | 890ms | 0ms | nim 2.0.2 |
lua | 1.lua | 1015ms | 1.6ms | 2.4MB | 1003ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | lua 5.4.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 226ms | 0.0ms | 1.5MB | 217ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 227ms | 1.0ms | 1.8MB | 220ms | 0ms | nim 2.0.2 |
lua | 1.lua | 259ms | 2.7ms | 2.3MB | 250ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.0MB | 4993ms | 0ms | lua 5.4.6 |