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 |
---|---|---|---|---|---|---|---|
v | 1.v | 1082ms | 11ms | 37.1MB | 1063ms | 0ms | v/clang 0.4.0 |
v | 1.v | 1092ms | 6.8ms | 37.0MB | 1070ms | 7ms | v/clang+gc 0.4.0 |
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 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | timeout | 0.0ms | 423.4MB | 3330ms | 1317ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 424.2MB | 3350ms | 1300ms | nim/clang 1.6.14 |
v | 1.v | timeout | 0.0ms | 21.1MB | 5210ms | 4150ms | v/clang 0.4.0 |
v | 1.v | timeout | 0.0ms | 16.9MB | 5247ms | 4167ms | v/clang+gc 0.4.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1-m.v | 3611ms | 865ms | 16.6MB | 3743ms | 2970ms | v/clang+gc 0.4.0 |
v | 1-m.v | 4091ms | 389ms | 16.9MB | 4267ms | 3377ms | v/clang 0.4.0 |
nim | 1.nim | timeout | 0.0ms | 421.6MB | 3370ms | 1283ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 423.3MB | 3447ms | 1203ms | nim/clang 1.6.14 |
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 |
v | 1.v | 628ms | 0.1ms | 2.0MB | 620ms | 0ms | v/clang 0.4.0 |
v | 1.v | 631ms | 3.5ms | 2.0MB | 620ms | 0ms | v/clang+gc 0.4.0 |
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 | 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 |
v | 1.v | 66ms | 0.7ms | 2.0MB | 60ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 67ms | 2.4ms | 2.0MB | 57ms | 0ms | v/clang 0.4.0 |
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 |
---|---|---|---|---|---|---|---|
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 |
v | 1.v | 397ms | 1.1ms | 2.2MB | 387ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 425ms | 1.0ms | 2.3MB | 413ms | 0ms | v/clang 0.4.0 |
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 |
v | 1.v | 1182ms | 1.4ms | 2.3MB | 1170ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 1268ms | 1.7ms | 2.3MB | 1257ms | 0ms | v/clang 0.4.0 |
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 |
v | 1.v | 132ms | 0.1ms | 2.3MB | 120ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 139ms | 1.8ms | 2.2MB | 130ms | 0ms | v/clang 0.4.0 |
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 | 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 |
v | 1.v | 874ms | 0.8ms | 2.3MB | 860ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 878ms | 10.0ms | 2.3MB | 863ms | 0ms | v/clang 0.4.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 2.v | 507ms | 7.4ms | 10.8MB | 493ms | 0ms | v/clang 0.4.0 |
v | 2.v | 514ms | 7.9ms | 10.6MB | 500ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 546ms | 16ms | 41.2MB | 527ms | 0ms | v/clang 0.4.0 |
nim | 1.nim | 568ms | 14ms | 40.3MB | 550ms | 0ms | nim 1.6.14 |
v | 1.v | 591ms | 49ms | 41.1MB | 570ms | 0ms | v/clang+gc 0.4.0 |
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 |
---|---|---|---|---|---|---|---|
v | 2.v | 116ms | 0.7ms | 4.0MB | 100ms | 0ms | v/clang+gc 0.4.0 |
v | 2.v | 117ms | 0.6ms | 4.1MB | 107ms | 0ms | v/clang 0.4.0 |
v | 1.v | 124ms | 4.9ms | 20.2MB | 113ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 126ms | 4.9ms | 20.8MB | 110ms | 0ms | v/clang 0.4.0 |
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 |
---|---|---|---|---|---|---|---|
v | 1.v | 3883ms | 46ms | 3.0MB | 3857ms | 10ms | v/clang+gc 0.4.0 |
nim | 1.nim | timeout | 0.0ms | 5.9MB | 4990ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 6.0MB | 4990ms | 0ms | nim/clang 1.6.14 |
v | 1.v | timeout | 0.0ms | 4.0MB | 4983ms | 0ms | v/clang 0.4.0 |
v | 2.v | timeout | 0.0ms | 3.3MB | 4987ms | 0ms | v/clang+gc 0.4.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 964ms | 7.4ms | 2.8MB | 950ms | 0ms | v/clang+gc 0.4.0 |
v | 1.v | 1413ms | 27ms | 2.9MB | 1393ms | 0ms | v/clang 0.4.0 |
v | 2.v | 1802ms | 7.2ms | 3.1MB | 1783ms | 0ms | v/clang+gc 0.4.0 |
nim | 1.nim | timeout | 0.0ms | 5.8MB | 4990ms | 0ms | nim 1.6.14 |
nim | 1.nim | timeout | 0.0ms | 6.1MB | 4983ms | 0ms | nim/clang 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 |
v | 1.v | timeout | 0.0ms | 3.1MB | 4990ms | 0ms | v/clang 0.4.0 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4990ms | 0ms | v/clang+gc 0.4.0 |
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 |
v | 1.v | 1550ms | 0.3ms | 2.8MB | 1537ms | 0ms | v/clang 0.4.0 |
v | 1.v | 1550ms | 0.7ms | 2.8MB | 1540ms | 0ms | v/clang+gc 0.4.0 |