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 |
---|---|---|---|---|---|---|---|
crystal | 0-unsafe.cr | 38ms | 0.7ms | 3.3MB | 30ms | 0ms | crystal 1.11.2 |
crystal | 1.cr | 67ms | 1.0ms | 3.3MB | 57ms | 0ms | crystal 1.11.2 |
ocaml | 1.ml | 186ms | 5.8ms | 6.5MB | 177ms | 0ms | ocaml 5.1.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 380ms | 2.1ms | 42.7MB | 363ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 381ms | 2.1ms | 8.4MB | 370ms | 0ms | crystal 1.11.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 |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 80ms | 1.2ms | 13.3MB | 70ms | 0ms | crystal 1.11.2 |
crystal | 2.cr | 93ms | 0.9ms | 4.8MB | 80ms | 0ms | crystal 1.11.2 |
ocaml | 1.ml | 212ms | 19ms | 139.7MB | 190ms | 7ms | ocaml 5.1.1 |
ocaml | 2.ml | 502ms | 3.3ms | 9.0MB | 487ms | 0ms | ocaml 5.1.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
crystal | 1.cr | 3743ms | 15ms | 4.8MB | 3727ms | 0ms | crystal 1.11.2 |
ocaml | 2.ml | 4552ms | 0.3ms | 4.4MB | 4537ms | 0ms | ocaml 5.1.1 |