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 |
---|---|---|---|---|---|---|---|
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 |
ocaml | 6.ml | 345ms | 0.3ms | 22.7MB | 330ms | 3ms | ocaml 5.1.1 |
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 |
ocaml | 6.ml | 39ms | 0.7ms | 5.4MB | 27ms | 0ms | ocaml 5.1.1 |
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 |
ocaml | 1.ml | 186ms | 5.8ms | 6.5MB | 177ms | 0ms | ocaml 5.1.1 |
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 |
ocaml | 1.ml | 540ms | 18ms | 6.4MB | 527ms | 0ms | ocaml 5.1.1 |
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 |
ocaml | 1.ml | 79ms | 1.6ms | 6.0MB | 70ms | 0ms | ocaml 5.1.1 |
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 | 553ms | 0.7ms | 34.4MB | 533ms | 3ms | nim 2.0.2 |
nim | 1.nim | 653ms | 8.9ms | 36.5MB | 633ms | 3ms | nim/clang 2.0.2 |
ocaml | 1.ml | 1178ms | 8.6ms | 74.8MB | 1140ms | 23ms | ocaml 5.1.1 |
ocaml | 2.ml | 2124ms | 11ms | 85.5MB | 2077ms | 27ms | ocaml 5.1.1 |
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 |
nim | 1.nim | 351ms | 9.9ms | 41.8MB | 337ms | 0ms | nim/clang 2.0.2 |
ocaml | 1.ml | 989ms | 6.1ms | 550.4MB | 923ms | 50ms | ocaml 5.1.1 |
ocaml | 2.ml | 2043ms | 6.1ms | 18.5MB | 2030ms | 0ms | ocaml 5.1.1 |
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 |
ocaml | 2.ml | 4552ms | 0.3ms | 4.4MB | 4537ms | 0ms | ocaml 5.1.1 |