Current benchmark data was generated on Tue Dec 31 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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 741ms | 8.3ms | 34.9MB | 727ms | 0ms | nim 2.2.0 |
v | 1.v | 842ms | 137ms | 22.1MB | 827ms | 3ms | v/clang+gc 0.4.9 |
nim | 2.nim | 919ms | 4.1ms | 34.7MB | 900ms | 7ms | nim/clang 2.2.0 |
v | 1.v | 2067ms | 11ms | 2086.6MB | 1183ms | 873ms | v/clang 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | timeout | 0.0ms | 561.4MB | 2450ms | 2080ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 570.6MB | 2543ms | 1987ms | nim/clang 2.2.0 |
v | 1.v | timeout | 0.0ms | 22.5MB | 9673ms | 9930ms | v/clang 0.4.9 |
v | 1.v | timeout | 0.0ms | 23.0MB | 9637ms | 9960ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1-m.v | 2894ms | 124ms | 15.6MB | 5423ms | 5930ms | v/clang 0.4.9 |
v | 1-m.v | 3059ms | 212ms | 16.3MB | 5860ms | 6127ms | v/clang+gc 0.4.9 |
nim | 1.nim | 4127ms | 12ms | 519.8MB | 2037ms | 1663ms | nim/clang 2.2.0 |
nim | 1.nim | 4262ms | 22ms | 519.3MB | 2010ms | 1827ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 174ms | 1.9ms | 1.5MB | 160ms | 0ms | nim 2.2.0 |
nim | 2.nim | 226ms | 6.1ms | 1.8MB | 213ms | 0ms | nim/clang 2.2.0 |
v | 1.v | 485ms | 7.6ms | 1.3MB | 473ms | 0ms | v/clang 0.4.9 |
v | 1.v | 510ms | 4.4ms | 2.1MB | 497ms | 0ms | v/clang+gc 0.4.9 |
nim | 1.nim | 542ms | 6.4ms | 1.8MB | 420ms | 110ms | nim/clang 2.2.0 |
nim | 1.nim | 569ms | 4.4ms | 1.5MB | 470ms | 87ms | nim 2.2.0 |
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.2.0 |
nim | 2.nim | 25ms | 1.4ms | 1.8MB | 17ms | 0ms | nim/clang 2.2.0 |
v | 1.v | 50ms | 0.4ms | 1.3MB | 40ms | 0ms | v/clang 0.4.9 |
v | 1.v | 53ms | 0.4ms | 2.1MB | 43ms | 0ms | v/clang+gc 0.4.9 |
nim | 1.nim | 58ms | 0.7ms | 1.8MB | 30ms | 17ms | nim/clang 2.2.0 |
nim | 1.nim | 60ms | 2.1ms | 1.5MB | 37ms | 10ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 105ms | 4.1ms | 1.6MB | 97ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 108ms | 2.2ms | 1.8MB | 100ms | 0ms | nim 2.2.0 |
v | 1.v | 246ms | 1.6ms | 2.1MB | 237ms | 0ms | v/clang+gc 0.4.9 |
v | 1.v | 252ms | 7.7ms | 1.3MB | 243ms | 0ms | v/clang 0.4.9 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4987ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 307ms | 6.6ms | 1.6MB | 297ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 319ms | 3.0ms | 1.4MB | 310ms | 0ms | nim 2.2.0 |
v | 1.v | 730ms | 2.4ms | 2.1MB | 720ms | 0ms | v/clang+gc 0.4.9 |
v | 1.v | 769ms | 8.2ms | 1.3MB | 760ms | 0ms | v/clang 0.4.9 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.0 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 46ms | 1.6ms | 1.8MB | 40ms | 0ms | nim/clang 2.2.0 |
nim | 2.nim | 49ms | 1.9ms | 1.5MB | 40ms | 0ms | nim 2.2.0 |
v | 1.v | 85ms | 1.3ms | 1.3MB | 73ms | 0ms | v/clang 0.4.9 |
v | 1.v | 97ms | 1.5ms | 2.1MB | 87ms | 0ms | v/clang+gc 0.4.9 |
nim | 1.nim | 463ms | 5.7ms | 1.5MB | 450ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 467ms | 5.4ms | 1.3MB | 453ms | 0ms | nim 2.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 252ms | 0.5ms | 41.5MB | 240ms | 0ms | nim 2.2.0 |
v | 1.v | 272ms | 1.7ms | 40.3MB | 257ms | 0ms | v/clang 0.4.9 |
v | 1.v | 288ms | 6.7ms | 60.7MB | 273ms | 0ms | v/clang+gc 0.4.9 |
nim | 1.nim | 293ms | 2.6ms | 41.8MB | 280ms | 0ms | nim/clang 2.2.0 |
v | 2.v | 311ms | 1.4ms | 6.2MB | 300ms | 0ms | v/clang 0.4.9 |
v | 2.v | 318ms | 2.2ms | 6.9MB | 307ms | 0ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 53ms | 2.2ms | 11.5MB | 40ms | 0ms | nim 2.2.0 |
v | 1.v | 57ms | 3.8ms | 11.0MB | 50ms | 0ms | v/clang 0.4.9 |
v | 1.v | 59ms | 0.8ms | 19.9MB | 50ms | 0ms | v/clang+gc 0.4.9 |
nim | 1.nim | 60ms | 3.6ms | 11.8MB | 50ms | 0ms | nim/clang 2.2.0 |
v | 2.v | 77ms | 1.9ms | 2.4MB | 70ms | 0ms | v/clang 0.4.9 |
v | 2.v | 77ms | 1.6ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.9 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3383ms | 20ms | 1.6MB | 3370ms | 0ms | nim/clang 2.2.0 |
nim | 1.nim | 3439ms | 35ms | 1.4MB | 3430ms | 0ms | nim 2.2.0 |
v | 1.v | 4853ms | 3.5ms | 1.6MB | 4843ms | 0ms | v/clang 0.4.9 |
v | 1.v | 4929ms | 9.5ms | 2.8MB | 4917ms | 0ms | v/clang+gc 0.4.9 |