Current benchmark data was generated on Wed Mar 22 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 | 270ms | 1.1ms | 1.0MB | 253ms | 3ms | nim 1.6.12 |
nim | 2.nim | 337ms | 0.8ms | 1.3MB | 323ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 780ms | 1.0ms | 1.0MB | 673ms | 87ms | nim 1.6.12 |
nim | 1.nim | 807ms | 1.4ms | 1.3MB | 690ms | 100ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 145ms | 1.5ms | 1.2MB | 140ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 152ms | 0.8ms | 1.0MB | 140ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.0MB | 4990ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.2MB | 4990ms | 0ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 430ms | 1.5ms | 1.2MB | 420ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 447ms | 0.6ms | 1.1MB | 437ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.1MB | 4990ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.2MB | 4990ms | 0ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 63ms | 0.3ms | 1.3MB | 50ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 66ms | 1.8ms | 1.0MB | 57ms | 0ms | nim 1.6.12 |
nim | 1.nim | 385ms | 0.6ms | 1.3MB | 373ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 437ms | 0.8ms | 1.0MB | 430ms | 0ms | nim 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 596ms | 2.2ms | 6.3MB | 583ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 754ms | 137ms | 6.0MB | 743ms | 0ms | nim 1.6.12 |
nim | 1.nim | 1028ms | 28ms | 41.0MB | 1007ms | 10ms | nim 1.6.12 |
nim | 1.nim | 1034ms | 43ms | 41.2MB | 1020ms | 0ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 133ms | 0.9ms | 11.1MB | 120ms | 0ms | nim 1.6.12 |
nim | 1.nim | 134ms | 0.6ms | 11.3MB | 123ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 139ms | 0.5ms | 3.2MB | 130ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 158ms | 0.9ms | 3.0MB | 150ms | 0ms | nim 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 4121ms | 0.6ms | 1.3MB | 4110ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 4122ms | 0.6ms | 1.3MB | 4110ms | 0ms | nim 1.6.12 |