Current benchmark data was generated on Thu Feb 01 2024, 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 | 827ms | 23ms | 37.1MB | 803ms | 7ms | v/clang+gc 0.4.4 |
nim | 2.nim | 835ms | 5.3ms | 34.4MB | 813ms | 7ms | nim 2.0.2 |
nim | 2.nim | 1170ms | 1.0ms | 34.7MB | 1150ms | 7ms | nim/clang 2.0.2 |
v | 1.v | 2194ms | 3.1ms | 2086.6MB | 1293ms | 883ms | v/clang 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | timeout | 0.0ms | 549.4MB | 2490ms | 2053ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 558.6MB | 2537ms | 1997ms | nim/clang 2.0.2 |
v | 1.v | timeout | 0.0ms | 22.4MB | 9170ms | 10407ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 23.9MB | 9513ms | 10017ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1-m.v | 2663ms | 268ms | 15.7MB | 5030ms | 5380ms | v/clang 0.4.4 |
v | 1-m.v | 2805ms | 118ms | 20.3MB | 5200ms | 5773ms | v/clang+gc 0.4.4 |
nim | 1.nim | 4326ms | 9.0ms | 519.8MB | 2247ms | 1653ms | nim/clang 2.0.2 |
nim | 1.nim | 4400ms | 29ms | 519.4MB | 2180ms | 1793ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 188ms | 3.5ms | 1.5MB | 177ms | 0ms | nim 2.0.2 |
nim | 2.nim | 239ms | 3.2ms | 1.8MB | 227ms | 0ms | nim/clang 2.0.2 |
v | 1.v | 507ms | 0.9ms | 1.3MB | 500ms | 0ms | v/clang 0.4.4 |
v | 1.v | 516ms | 7.0ms | 2.1MB | 507ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | 549ms | 1.1ms | 1.8MB | 447ms | 87ms | nim/clang 2.0.2 |
nim | 1.nim | 573ms | 0.7ms | 1.5MB | 463ms | 90ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 20ms | 0.4ms | 1.5MB | 10ms | 0ms | nim 2.0.2 |
nim | 2.nim | 26ms | 0.6ms | 1.6MB | 20ms | 0ms | nim/clang 2.0.2 |
v | 1.v | 54ms | 2.2ms | 1.3MB | 43ms | 0ms | v/clang 0.4.4 |
v | 1.v | 55ms | 1.7ms | 2.1MB | 43ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | 58ms | 0.6ms | 1.8MB | 43ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 61ms | 1.0ms | 1.5MB | 43ms | 7ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 108ms | 1.5ms | 1.6MB | 100ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 109ms | 2.7ms | 1.4MB | 97ms | 0ms | nim 2.0.2 |
v | 1.v | 251ms | 3.2ms | 1.4MB | 240ms | 0ms | v/clang 0.4.4 |
v | 1.v | 261ms | 2.8ms | 2.3MB | 250ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 316ms | 0.4ms | 1.9MB | 307ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 323ms | 4.4ms | 1.4MB | 313ms | 0ms | nim 2.0.2 |
v | 1.v | 757ms | 3.5ms | 1.3MB | 750ms | 0ms | v/clang 0.4.4 |
v | 1.v | 769ms | 3.9ms | 2.3MB | 757ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.0.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 48ms | 0.6ms | 1.5MB | 40ms | 0ms | nim/clang 2.0.2 |
nim | 2.nim | 49ms | 0.7ms | 1.3MB | 40ms | 0ms | nim 2.0.2 |
v | 1.v | 91ms | 0.5ms | 1.3MB | 80ms | 0ms | v/clang 0.4.4 |
v | 1.v | 100ms | 2.0ms | 2.1MB | 90ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | 536ms | 10ms | 1.5MB | 523ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 536ms | 8.6ms | 1.3MB | 523ms | 0ms | nim 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 282ms | 2.6ms | 41.5MB | 270ms | 0ms | nim 2.0.2 |
v | 2.v | 328ms | 2.8ms | 6.9MB | 317ms | 0ms | v/clang+gc 0.4.4 |
v | 2.v | 330ms | 3.2ms | 6.1MB | 317ms | 0ms | v/clang 0.4.4 |
v | 1.v | 343ms | 6.3ms | 40.3MB | 320ms | 5ms | v/clang 0.4.4 |
v | 1.v | 343ms | 10ms | 41.2MB | 333ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | 351ms | 9.9ms | 41.8MB | 337ms | 0ms | nim/clang 2.0.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 56ms | 1.3ms | 11.5MB | 47ms | 0ms | nim 2.0.2 |
v | 1.v | 62ms | 1.0ms | 11.9MB | 50ms | 0ms | v/clang+gc 0.4.4 |
nim | 1.nim | 65ms | 1.0ms | 11.8MB | 53ms | 0ms | nim/clang 2.0.2 |
v | 1.v | 65ms | 1.7ms | 11.0MB | 50ms | 0ms | v/clang 0.4.4 |
v | 2.v | 81ms | 1.2ms | 2.5MB | 70ms | 0ms | v/clang 0.4.4 |
v | 2.v | 82ms | 1.1ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3574ms | 1.9ms | 1.6MB | 3567ms | 0ms | nim/clang 2.0.2 |
nim | 1.nim | 3591ms | 12ms | 1.4MB | 3580ms | 0ms | nim 2.0.2 |
v | 1.v | timeout | 0.0ms | 1.8MB | 4990ms | 0ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4987ms | 0ms | v/clang+gc 0.4.4 |