Current benchmark data was generated on Fri May 20 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 | 2.nim | 261ms | 0.9ms | 0.7MB | 247ms | 0ms | nim 1.6.6 |
nim | 2.nim | 337ms | 0.7ms | 0.9MB | 320ms | 0ms | nim/clang 1.6.6 |
ocaml | 6.ml | 425ms | 0.9ms | 25.4MB | 407ms | 0ms | ocaml 4.14.0 |
nim | 1.nim | 771ms | 2.8ms | 0.7MB | 650ms | 103ms | nim 1.6.6 |
nim | 1.nim | 787ms | 2.3ms | 0.9MB | 657ms | 110ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 28ms | 0.1ms | 0.7MB | 20ms | 0ms | nim 1.6.6 |
nim | 2.nim | 36ms | 0.1ms | 1.0MB | 30ms | 0ms | nim/clang 1.6.6 |
ocaml | 6.ml | 47ms | 1.2ms | 4.8MB | 40ms | 0ms | ocaml 4.14.0 |
nim | 1.nim | 81ms | 0.5ms | 0.7MB | 57ms | 7ms | nim 1.6.6 |
nim | 1.nim | 82ms | 0.9ms | 1.0MB | 63ms | 3ms | nim/clang 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 147ms | 0.8ms | 1.0MB | 140ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 154ms | 0.4ms | 0.7MB | 143ms | 0ms | nim 1.6.6 |
ocaml | 1.ml | 240ms | 1.1ms | 5.9MB | 227ms | 0ms | ocaml 4.14.0 |
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 | 436ms | 4.3ms | 1.0MB | 427ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 458ms | 2.1ms | 0.7MB | 447ms | 0ms | nim 1.6.6 |
ocaml | 1.ml | 708ms | 1.7ms | 5.8MB | 697ms | 0ms | ocaml 4.14.0 |
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 | 64ms | 1.0ms | 1.0MB | 53ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 67ms | 0.4ms | 0.7MB | 60ms | 0ms | nim 1.6.6 |
ocaml | 1.ml | 104ms | 0.3ms | 5.0MB | 97ms | 0ms | ocaml 4.14.0 |
nim | 1.nim | 421ms | 0.9ms | 1.0MB | 410ms | 0ms | nim/clang 1.6.6 |
nim | 1.nim | 466ms | 4.2ms | 0.7MB | 457ms | 0ms | nim 1.6.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 1528ms | 2.4ms | 62.6MB | 1497ms | 17ms | ocaml 4.14.0 |
nim | 1.nim | 1581ms | 0.4ms | 35.1MB | 1560ms | 10ms | nim/clang 1.6.6 |
nim | 1.nim | 1664ms | 0.7ms | 35.1MB | 1643ms | 7ms | nim 1.6.6 |
ocaml | 2.ml | 2609ms | 9.0ms | 71.1MB | 2577ms | 17ms | ocaml 4.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 593ms | 2.3ms | 6.4MB | 583ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 668ms | 3.2ms | 6.1MB | 650ms | 0ms | nim 1.6.6 |
nim | 1.nim | 828ms | 1.4ms | 41.1MB | 813ms | 0ms | nim 1.6.6 |
nim | 1.nim | 829ms | 24ms | 40.9MB | 813ms | 3ms | nim/clang 1.6.6 |
ocaml | 1.ml | 2063ms | 42ms | 554.8MB | 1947ms | 97ms | ocaml 4.14.0 |
ocaml | 2.ml | 2282ms | 3.9ms | 19.6MB | 2267ms | 0ms | ocaml 4.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 124ms | 0.7ms | 11.0MB | 110ms | 0ms | nim 1.6.6 |
nim | 1.nim | 129ms | 2.5ms | 11.3MB | 117ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 140ms | 0.3ms | 3.3MB | 130ms | 0ms | nim/clang 1.6.6 |
nim | 2.nim | 158ms | 0.2ms | 3.0MB | 150ms | 0ms | nim 1.6.6 |
ocaml | 1.ml | 406ms | 11ms | 142.8MB | 370ms | 20ms | ocaml 4.14.0 |
ocaml | 2.ml | 551ms | 1.5ms | 9.6MB | 540ms | 0ms | ocaml 4.14.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 4121ms | 0.3ms | 1.8MB | 4110ms | 0ms | nim/clang 1.6.6 |
nim | 1.nim | 4122ms | 1.3ms | 1.8MB | 4110ms | 0ms | nim 1.6.6 |
ocaml | 2.ml | timeout | 0.0ms | 0.0MB | 0ms | 0ms | ocaml 4.14.0 |