Current benchmark data was generated on Wed May 25 2022, 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 | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
v | 1.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang 0.2.4 |
v | 1.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang+gc 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1-m.v | 1889ms | 85ms | 17.8MB | 1903ms | 1643ms | v/clang 0.2.4 |
v | 1-m.v | 2361ms | 540ms | 20.5MB | 2327ms | 2083ms | v/clang+gc 0.2.4 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 235ms | 16ms | 0.7MB | 223ms | 0ms | nim 1.6.6 |
nim | 2.nim | 284ms | 20ms | 0.9MB | 270ms | 0ms | nim/clang 1.6.6 |
nim | 1.nim | 642ms | 2.5ms | 1.0MB | 560ms | 70ms | nim/clang 1.6.6 |
nim | 1.nim | 686ms | 49ms | 0.7MB | 600ms | 70ms | nim 1.6.6 |
v | 1.v | 698ms | 2.2ms | 2.2MB | 603ms | 77ms | v/clang+gc 0.2.4 |
v | 1.v | 816ms | 5.9ms | 0.6MB | 720ms | 77ms | v/clang 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 24ms | 0.5ms | 0.7MB | 13ms | 0ms | nim 1.6.6 |
nim | 2.nim | 28ms | 0.1ms | 0.9MB | 20ms | 0ms | nim/clang 1.6.6 |
nim | 1.nim | 71ms | 4.9ms | 0.7MB | 57ms | 0ms | nim 1.6.6 |
v | 1.v | 75ms | 1.2ms | 2.2MB | 57ms | 3ms | v/clang+gc 0.2.4 |
nim | 1.nim | 76ms | 1.0ms | 0.9MB | 57ms | 3ms | nim/clang 1.6.6 |
v | 1.v | 84ms | 0.9ms | 0.6MB | 63ms | 3ms | v/clang 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 148ms | 0.5ms | 0.9MB | 140ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 159ms | 0.7ms | 0.7MB | 150ms | 0ms | nim 1.6.6 |
v | 1.v | 339ms | 0.2ms | 0.6MB | 330ms | 0ms | v/clang 0.2.4 |
v | 1.v | 362ms | 2.8ms | 2.3MB | 350ms | 0ms | v/clang+gc 0.2.4 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 422ms | 30ms | 0.9MB | 405ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 467ms | 0.4ms | 0.7MB | 460ms | 0ms | nim 1.6.6 |
v | 1.v | 1013ms | 1.0ms | 0.6MB | 1000ms | 0ms | v/clang 0.2.4 |
v | 1.v | 1076ms | 4.4ms | 2.2MB | 1067ms | 0ms | v/clang+gc 0.2.4 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 65ms | 0.1ms | 0.9MB | 53ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 68ms | 0.3ms | 0.7MB | 60ms | 0ms | nim 1.6.6 |
v | 1.v | 120ms | 0.6ms | 0.6MB | 110ms | 0ms | v/clang 0.2.4 |
v | 1.v | 127ms | 1.0ms | 2.3MB | 120ms | 0ms | v/clang+gc 0.2.4 |
nim | 1.nim | 467ms | 0.9ms | 0.7MB | 457ms | 0ms | nim 1.6.6 |
nim | 1.nim | 485ms | 0.9ms | 0.9MB | 473ms | 0ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 499ms | 6.1ms | 10.4MB | 480ms | 0ms | v/clang+gc 0.2.4 |
nim | 2.nim | 663ms | 1.3ms | 6.6MB | 650ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 776ms | 0.8ms | 6.1MB | 760ms | 0ms | nim 1.6.6 |
v | 1.v | 1054ms | 16ms | 41.3MB | 1033ms | 10ms | v/clang+gc 0.2.4 |
v | 1.v | 1142ms | 36ms | 40.1MB | 1113ms | 13ms | v/clang 0.2.4 |
nim | 1.nim | 1202ms | 31ms | 41.5MB | 1180ms | 7ms | nim/clang 1.6.6 |
nim | 1.nim | 1255ms | 71ms | 40.4MB | 1233ms | 7ms | nim 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 113ms | 0.8ms | 3.3MB | 103ms | 0ms | v/clang+gc 0.2.4 |
v | 1.v | 118ms | 1.0ms | 10.9MB | 107ms | 0ms | v/clang 0.2.4 |
v | 1.v | 125ms | 1.0ms | 19.8MB | 103ms | 3ms | v/clang+gc 0.2.4 |
nim | 1.nim | 126ms | 0.4ms | 11.1MB | 110ms | 0ms | nim 1.6.6 |
nim | 1.nim | 130ms | 0.8ms | 11.4MB | 120ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 152ms | 1.1ms | 3.3MB | 140ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 180ms | 0.1ms | 3.0MB | 167ms | 0ms | nim 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 4270ms | 76ms | 3.2MB | 4247ms | 3ms | v/clang+gc 0.2.4 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
v | 1.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang 0.2.4 |
v | 2.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang+gc 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 1076ms | 1.6ms | 2.5MB | 1060ms | 0ms | v/clang+gc 0.2.4 |
v | 2.v | 1546ms | 13ms | 3.1MB | 1530ms | 0ms | v/clang+gc 0.2.4 |
v | 1.v | 2390ms | 6.9ms | 2460.0MB | 1277ms | 1093ms | v/clang 0.2.4 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim 1.6.6 |
nim | 1.nim | timeout | 0.0ms | 0.0MB | 0ms | 0ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 3033ms | 0.4ms | 2.9MB | 3020ms | 0ms | v/clang+gc 0.2.4 |
v | 1.v | 3165ms | 232ms | 1.7MB | 3153ms | 0ms | v/clang 0.2.4 |
nim | 1.nim | 3300ms | 230ms | 1.9MB | 3287ms | 0ms | nim 1.6.6 |
nim | 1.nim | 3433ms | 1.4ms | 1.8MB | 3420ms | 0ms | nim/clang 1.6.6 |