Current benchmark data was generated on Sat Nov 16 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 | 775ms | 7.6ms | 34.4MB | 753ms | 3ms | nim 2.2.0 |
nim | 2.nim | 952ms | 0.1ms | 34.7MB | 933ms | 3ms | nim/clang 2.2.0 |
lua | 1.lua | 3463ms | 70ms | 172.8MB | 3323ms | 123ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 104.9MB | 4960ms | 27ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 560ms | 17ms | 34.4MB | 540ms | 0ms | nim 2.2.0 |
nim | 1.nim | 630ms | 12ms | 35.2MB | 613ms | 3ms | nim/clang 2.2.0 |
lua | 1.lua | timeout | 0.0ms | 107.4MB | 4953ms | 33ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4933ms | 47ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 118ms | 2.1ms | 9.6MB | 107ms | 0ms | nim 2.2.0 |
nim | 1.nim | 133ms | 5.2ms | 9.9MB | 120ms | 0ms | nim/clang 2.2.0 |
lua | 1.lua | 1122ms | 32ms | 31.0MB | 1097ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2145ms | 2.0ms | 28.6MB | 2120ms | 10ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 320ms | 1.8ms | 1.8MB | 310ms | 0ms | nim 2.2.0 |
nim | 2.nim | 340ms | 1.1ms | 2.0MB | 330ms | 0ms | nim/clang 2.2.0 |
lua | 4.lua | 716ms | 7.4ms | 2.4MB | 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 |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 3.5ms | 1.6MB | 3563ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3585ms | 8.7ms | 1.4MB | 3577ms | 0ms | nim 2.2.0 |
lua | 1.lua | 4052ms | 6.0ms | 2.5MB | 4043ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4990ms | 0ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 899ms | 7.6ms | 1.5MB | 890ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 900ms | 3.3ms | 1.8MB | 890ms | 0ms | nim 2.2.0 |
lua | 1.lua | 1024ms | 0.9ms | 2.4MB | 1010ms | 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 |
---|---|---|---|---|---|---|---|
nim | 1.nim | 225ms | 0.1ms | 1.5MB | 210ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 228ms | 1.4ms | 1.3MB | 220ms | 0ms | nim 2.2.0 |
lua | 1.lua | 258ms | 1.0ms | 2.3MB | 247ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.1MB | 4990ms | 0ms | lua 5.4.7 |