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 |
---|---|---|---|---|---|---|---|
zig | 1.zig | 118ms | 1.1ms | 1.0MB | 110ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 1.zig | 15ms | 1.0ms | 1.0MB | 10ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
nim | 2.nim | 28ms | 0.5ms | 1.0MB | 20ms | 0ms | nim 1.6.14 |
nim | 2.nim | 36ms | 0.3ms | 1.3MB | 30ms | 0ms | nim/clang 1.6.14 |
nim | 1.nim | 81ms | 0.5ms | 1.0MB | 60ms | 7ms | nim 1.6.14 |
nim | 1.nim | 83ms | 0.8ms | 1.2MB | 70ms | 0ms | nim/clang 1.6.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 1.zig | 44ms | 0.2ms | 2.7MB | 33ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 1.zig | 126ms | 0.6ms | 2.8MB | 117ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 1.zig | 21ms | 0.9ms | 1.3MB | 10ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 2.zig | 305ms | 0.0ms | 1.1MB | 300ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 367ms | 4.1ms | 1.0MB | 357ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2.zig | 32ms | 0.5ms | 1.0MB | 20ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 39ms | 0.6ms | 1.0MB | 30ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2.zig | 430ms | 5.5ms | 6.0MB | 413ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 524ms | 19ms | 40.3MB | 497ms | 10ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 2.zig | 94ms | 0.1ms | 2.3MB | 87ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 1.zig | 117ms | 0.6ms | 11.1MB | 107ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 1059ms | 1.7ms | 1.3MB | 2053ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 2.zig | 2061ms | 1.0ms | 1.0MB | 2047ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
zig | 1.zig | 4479ms | 3.5ms | 1.0MB | 4460ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 275ms | 0.5ms | 1.3MB | 510ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 2.zig | 517ms | 1.3ms | 1.1MB | 510ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
zig | 1.zig | 1122ms | 0.3ms | 1.1MB | 1110ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
zig | 2-m.zig | 75ms | 1.3ms | 1.2MB | 127ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
zig | 2.zig | 132ms | 0.9ms | 1.1MB | 120ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |
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 |
zig | 1.zig | 285ms | 1.6ms | 1.0MB | 270ms | 0ms | zig 0.11.0-dev.3978+711b4e93e |