Current benchmark data was generated on Thu May 04 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 |
---|---|---|---|---|---|---|---|
nim | 2.nim | 242ms | 0.7ms | 1.0MB | 230ms | 0ms | nim 1.6.12 |
nim | 2.nim | 308ms | 0.5ms | 1.2MB | 290ms | 0ms | nim/clang 1.6.12 |
ocaml | 6.ml | 387ms | 4.7ms | 22.7MB | 360ms | 7ms | ocaml 5.0.0 |
nim | 1.nim | 693ms | 3.9ms | 1.3MB | 603ms | 77ms | nim/clang 1.6.12 |
nim | 1.nim | 712ms | 8.1ms | 1.0MB | 620ms | 73ms | nim 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 27ms | 0.3ms | 1.0MB | 20ms | 0ms | nim 1.6.12 |
nim | 2.nim | 34ms | 1.1ms | 1.2MB | 20ms | 0ms | nim/clang 1.6.12 |
ocaml | 6.ml | 42ms | 0.4ms | 4.9MB | 30ms | 0ms | ocaml 5.0.0 |
nim | 1.nim | 71ms | 0.0ms | 1.2MB | 57ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 74ms | 0.5ms | 1.0MB | 53ms | 3ms | nim 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 149ms | 0.2ms | 1.3MB | 140ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 153ms | 0.7ms | 1.0MB | 140ms | 0ms | nim 1.6.12 |
ocaml | 1.ml | 250ms | 4.9ms | 6.7MB | 240ms | 0ms | ocaml 5.0.0 |
nim | 1.nim | timeout | 0.0ms | 1.0MB | 4990ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.2MB | 4987ms | 0ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 441ms | 0.9ms | 1.2MB | 430ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 454ms | 4.3ms | 1.0MB | 440ms | 0ms | nim 1.6.12 |
ocaml | 1.ml | 727ms | 1.6ms | 6.7MB | 717ms | 0ms | ocaml 5.0.0 |
nim | 1.nim | timeout | 0.0ms | 1.1MB | 4987ms | 0ms | nim 1.6.12 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4983ms | 0ms | nim/clang 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 66ms | 0.2ms | 1.2MB | 57ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 66ms | 0.2ms | 1.0MB | 57ms | 0ms | nim 1.6.12 |
ocaml | 1.ml | 110ms | 0.4ms | 6.0MB | 93ms | 0ms | ocaml 5.0.0 |
nim | 1.nim | 388ms | 2.0ms | 1.2MB | 377ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 416ms | 1.7ms | 1.0MB | 400ms | 0ms | nim 1.6.12 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 1082ms | 4.0ms | 34.1MB | 1060ms | 7ms | nim/clang 1.6.12 |
nim | 1.nim | 1097ms | 3.3ms | 34.3MB | 1073ms | 7ms | nim 1.6.12 |
ocaml | 1.ml | 1931ms | 14ms | 69.1MB | 1880ms | 30ms | ocaml 5.0.0 |
ocaml | 2.ml | 3617ms | 28ms | 74.2MB | 3557ms | 43ms | ocaml 5.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 667ms | 1.4ms | 6.4MB | 650ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 845ms | 1.2ms | 6.3MB | 833ms | 0ms | nim 1.6.12 |
nim | 1.nim | 1190ms | 16ms | 40.4MB | 1167ms | 10ms | nim 1.6.12 |
nim | 1.nim | 1455ms | 3.6ms | 40.8MB | 1427ms | 10ms | nim/clang 1.6.12 |
ocaml | 2.ml | 2718ms | 31ms | 19.1MB | 2703ms | 0ms | ocaml 5.0.0 |
ocaml | 1.ml | 3571ms | 30ms | 550.6MB | 3400ms | 157ms | ocaml 5.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 131ms | 2.3ms | 11.3MB | 117ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 137ms | 1.0ms | 11.1MB | 120ms | 0ms | nim 1.6.12 |
nim | 2.nim | 152ms | 0.5ms | 3.3MB | 140ms | 0ms | nim/clang 1.6.12 |
nim | 2.nim | 198ms | 0.4ms | 3.1MB | 190ms | 0ms | nim 1.6.12 |
ocaml | 2.ml | 640ms | 4.4ms | 9.3MB | 627ms | 0ms | ocaml 5.0.0 |
ocaml | 1.ml | 763ms | 24ms | 140.2MB | 713ms | 30ms | ocaml 5.0.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3435ms | 3.3ms | 2.0MB | 3423ms | 0ms | nim/clang 1.6.12 |
nim | 1.nim | 3437ms | 3.2ms | 1.3MB | 3423ms | 0ms | nim 1.6.12 |
ocaml | 2.ml | timeout | 0.0ms | 4.2MB | 4987ms | 0ms | ocaml 5.0.0 |