Current benchmark data was generated on Sat Mar 29 2025, 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 | 1.4ms | 1.5MB | 177ms | 0ms | nim 2.2.2 |
nim | 2.nim | 235ms | 2.2ms | 1.8MB | 220ms | 0ms | nim/clang 2.2.2 |
ocaml | 6.ml | 347ms | 0.6ms | 24.8MB | 333ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 557ms | 2.8ms | 1.8MB | 453ms | 90ms | nim/clang 2.2.2 |
nim | 1.nim | 578ms | 2.2ms | 1.5MB | 467ms | 97ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.6ms | 1.5MB | 10ms | 0ms | nim 2.2.2 |
nim | 2.nim | 26ms | 0.1ms | 1.8MB | 20ms | 0ms | nim/clang 2.2.2 |
ocaml | 6.ml | 39ms | 0.3ms | 7.3MB | 30ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 59ms | 1.1ms | 1.8MB | 40ms | 7ms | nim/clang 2.2.2 |
nim | 1.nim | 61ms | 1.2ms | 1.5MB | 40ms | 10ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 112ms | 2.2ms | 1.4MB | 103ms | 0ms | nim 2.2.2 |
nim | 2.nim | 113ms | 2.4ms | 1.6MB | 103ms | 0ms | nim/clang 2.2.2 |
ocaml | 1.ml | 185ms | 5.6ms | 6.4MB | 173ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 327ms | 2.7ms | 1.4MB | 317ms | 0ms | nim 2.2.2 |
nim | 2.nim | 333ms | 2.8ms | 1.6MB | 323ms | 0ms | nim/clang 2.2.2 |
ocaml | 1.ml | 537ms | 16ms | 6.6MB | 527ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | timeout | 0.0ms | 1.3MB | 4990ms | 0ms | nim 2.2.2 |
nim | 1.nim | timeout | 0.0ms | 1.5MB | 4990ms | 0ms | nim/clang 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 50ms | 1.0ms | 1.3MB | 40ms | 0ms | nim 2.2.2 |
nim | 2.nim | 50ms | 1.3ms | 1.5MB | 40ms | 0ms | nim/clang 2.2.2 |
ocaml | 1.ml | 76ms | 0.7ms | 5.9MB | 70ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 457ms | 14ms | 1.5MB | 447ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 485ms | 9.7ms | 1.3MB | 477ms | 0ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 536ms | 5.2ms | 34.6MB | 517ms | 0ms | nim 2.2.2 |
nim | 1.nim | 634ms | 23ms | 34.9MB | 617ms | 3ms | nim/clang 2.2.2 |
ocaml | 1.ml | 1097ms | 8.4ms | 70.3MB | 1057ms | 30ms | ocaml 5.3.0 |
ocaml | 2.ml | 2087ms | 30ms | 91.7MB | 2037ms | 33ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 314ms | 16ms | 41.8MB | 303ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 316ms | 3.7ms | 41.5MB | 303ms | 0ms | nim 2.2.2 |
ocaml | 1.ml | 961ms | 7.1ms | 552.4MB | 900ms | 47ms | ocaml 5.3.0 |
ocaml | 2.ml | 1888ms | 3.0ms | 18.9MB | 1877ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3596ms | 8.4ms | 1.6MB | 3587ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 3599ms | 8.1ms | 1.4MB | 3593ms | 0ms | nim 2.2.2 |
ocaml | 2.ml | 4568ms | 13ms | 6.4MB | 4557ms | 0ms | ocaml 5.3.0 |