Current benchmark data was generated on Mon Mar 31 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 | 189ms | 2.4ms | 1.5MB | 177ms | 0ms | nim 2.2.2 |
nim | 2.nim | 237ms | 2.8ms | 1.8MB | 227ms | 0ms | nim/clang 2.2.2 |
ocaml | 6.ml | 346ms | 1.3ms | 24.8MB | 333ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 553ms | 0.6ms | 1.8MB | 447ms | 90ms | nim/clang 2.2.2 |
nim | 1.nim | 579ms | 2.1ms | 1.5MB | 477ms | 87ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 21ms | 0.0ms | 1.5MB | 10ms | 0ms | nim 2.2.2 |
nim | 2.nim | 26ms | 0.2ms | 1.8MB | 20ms | 0ms | nim/clang 2.2.2 |
ocaml | 6.ml | 38ms | 0.4ms | 7.3MB | 30ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 59ms | 1.2ms | 1.8MB | 40ms | 10ms | nim/clang 2.2.2 |
nim | 1.nim | 61ms | 0.5ms | 1.5MB | 40ms | 7ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 2.nim | 111ms | 1.6ms | 1.6MB | 100ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 113ms | 2.6ms | 1.4MB | 103ms | 0ms | nim 2.2.2 |
ocaml | 1.ml | 184ms | 5.4ms | 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 | 324ms | 1.9ms | 1.6MB | 313ms | 0ms | nim/clang 2.2.2 |
nim | 2.nim | 326ms | 1.9ms | 1.6MB | 320ms | 0ms | nim 2.2.2 |
ocaml | 1.ml | 537ms | 29ms | 6.6MB | 523ms | 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.1ms | 1.3MB | 40ms | 0ms | nim 2.2.2 |
nim | 2.nim | 50ms | 0.7ms | 1.6MB | 40ms | 0ms | nim/clang 2.2.2 |
ocaml | 1.ml | 78ms | 1.3ms | 5.9MB | 70ms | 0ms | ocaml 5.3.0 |
nim | 1.nim | 440ms | 2.2ms | 1.5MB | 430ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 481ms | 0.8ms | 1.3MB | 470ms | 0ms | nim 2.2.2 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 534ms | 2.9ms | 34.6MB | 517ms | 0ms | nim 2.2.2 |
nim | 1.nim | 631ms | 20ms | 34.9MB | 613ms | 3ms | nim/clang 2.2.2 |
ocaml | 1.ml | 1092ms | 5.1ms | 70.2MB | 1047ms | 30ms | ocaml 5.3.0 |
ocaml | 2.ml | 2145ms | 35ms | 91.7MB | 2087ms | 40ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 271ms | 8.1ms | 41.5MB | 257ms | 0ms | nim 2.2.2 |
nim | 1.nim | 298ms | 2.6ms | 41.8MB | 287ms | 0ms | nim/clang 2.2.2 |
ocaml | 1.ml | 932ms | 3.0ms | 552.4MB | 873ms | 40ms | ocaml 5.3.0 |
ocaml | 2.ml | 1897ms | 2.6ms | 17.3MB | 1887ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
nim | 1.nim | 3590ms | 1.4ms | 1.6MB | 3580ms | 0ms | nim/clang 2.2.2 |
nim | 1.nim | 3596ms | 7.0ms | 1.9MB | 3583ms | 0ms | nim 2.2.2 |
ocaml | 2.ml | 4556ms | 14ms | 6.4MB | 4543ms | 0ms | ocaml 5.3.0 |