Current benchmark data was generated on Thu Jul 13 2023, 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 | 1955ms | 2.8ms | 34.1MB | 1930ms | 10ms | nim 1.6.14 |
nim | 2.nim | 2105ms | 6.7ms | 35.0MB | 2087ms | 7ms | nim/clang 1.6.14 |
lua | 1.lua | timeout | 0.0ms | 119.5MB | 4953ms | 27ms | lua 5.4.4 |
lua | 1.lua | timeout | 0.0ms | 209.4MB | 4930ms | 50ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 186ms | 1.2ms | 5.6MB | 177ms | 0ms | nim 1.6.14 |
nim | 2.nim | 194ms | 3.4ms | 5.7MB | 183ms | 0ms | nim/clang 1.6.14 |
lua | 1.lua | 416ms | 5.6ms | 25.2MB | 393ms | 10ms | luajit 2.1.0-beta3 |
lua | 1.lua | 1062ms | 12ms | 17.4MB | 1040ms | 3ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 259ms | 0.7ms | 1.0MB | 250ms | 0ms | nim 1.6.14 |
nim | 2.nim | 346ms | 1.7ms | 1.3MB | 330ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 785ms | 2.8ms | 1.0MB | 687ms | 83ms | nim 1.6.14 |
nim | 1.nim | 799ms | 1.3ms | 1.2MB | 690ms | 90ms | nim/clang 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 145ms | 0.9ms | 1.2MB | 137ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 152ms | 0.8ms | 1.1MB | 140ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 1.1MB | 4990ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 1.2MB | 4983ms | 0ms | nim/clang 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 428ms | 0.6ms | 1.3MB | 417ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 450ms | 0.8ms | 1.1MB | 440ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 1.0MB | 4987ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 0ms | nim/clang 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 63ms | 0.5ms | 1.2MB | 50ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 65ms | 1.7ms | 1.0MB | 57ms | 0ms | nim 1.6.14 |
nim | 1.nim | 389ms | 5.3ms | 1.2MB | 373ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 444ms | 3.1ms | 1.0MB | 430ms | 0ms | nim 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 992ms | 2.9ms | 34.7MB | 977ms | 0ms | nim 1.6.14 |
nim | 1.nim | 1065ms | 6.2ms | 34.5MB | 1047ms | 3ms | nim/clang 1.6.14 |
lua | 1.lua | timeout | 0.0ms | 159.2MB | 4940ms | 43ms | lua 5.4.4 |
lua | 1.lua | timeout | 0.0ms | 183.3MB | 4927ms | 53ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 211ms | 1.7ms | 9.3MB | 197ms | 0ms | nim 1.6.14 |
nim | 1.nim | 229ms | 2.5ms | 9.5MB | 217ms | 0ms | nim/clang 1.6.14 |
lua | 1.lua | 1526ms | 27ms | 36.0MB | 1503ms | 7ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2805ms | 35ms | 41.6MB | 2773ms | 13ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 382ms | 0.6ms | 1.3MB | 370ms | 0ms | nim 1.6.14 |
nim | 2.nim | 411ms | 0.8ms | 1.3MB | 400ms | 0ms | nim/clang 1.6.14 |
lua | 4.lua | 1109ms | 7.7ms | 1.4MB | 1097ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | timeout | 0.0ms | 1.4MB | 4987ms | 0ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 41ms | 0.3ms | 1.3MB | 30ms | 0ms | nim 1.6.14 |
nim | 2.nim | 43ms | 0.0ms | 1.2MB | 30ms | 0ms | nim/clang 1.6.14 |
lua | 4.lua | 118ms | 7.0ms | 1.4MB | 110ms | 0ms | luajit 2.1.0-beta3 |
lua | 4.lua | 1211ms | 12ms | 1.4MB | 1200ms | 0ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 568ms | 14ms | 40.3MB | 550ms | 0ms | nim 1.6.14 |
nim | 2.nim | 608ms | 6.1ms | 6.5MB | 597ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 633ms | 1.1ms | 6.1MB | 617ms | 0ms | nim 1.6.14 |
nim | 1.nim | 758ms | 55ms | 41.3MB | 743ms | 0ms | nim/clang 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 129ms | 0.5ms | 11.0MB | 120ms | 0ms | nim 1.6.14 |
nim | 1.nim | 136ms | 0.4ms | 11.3MB | 123ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 142ms | 1.0ms | 3.3MB | 130ms | 0ms | nim/clang 1.6.14 |
nim | 2.nim | 148ms | 0.7ms | 3.0MB | 140ms | 0ms | nim 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 4117ms | 0.5ms | 1.2MB | 4103ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 4119ms | 0.2ms | 1.3MB | 4110ms | 0ms | nim 1.6.14 |
lua | 1.lua | timeout | 0.0ms | 2.2MB | 4990ms | 0ms | lua 5.4.4 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4990ms | 0ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 1031ms | 0.5ms | 1.3MB | 1020ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 1034ms | 3.4ms | 1.3MB | 1020ms | 0ms | nim 1.6.14 |
lua | 1.lua | 1559ms | 1.5ms | 2.5MB | 1547ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 2.2MB | 4990ms | 0ms | lua 5.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 261ms | 0.8ms | 1.3MB | 250ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 261ms | 1.1ms | 1.3MB | 250ms | 0ms | nim 1.6.14 |
lua | 1.lua | 393ms | 0.7ms | 1.4MB | 383ms | 0ms | luajit 2.1.0-beta3 |
lua | 1.lua | timeout | 0.0ms | 1.5MB | 4987ms | 0ms | lua 5.4.4 |