Current benchmark data was generated on Mon Apr 14 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 |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 188ms | 1.5ms | 6.4MB | 180ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 1141ms | 35ms | 70.2MB | 1100ms | 30ms | ocaml 5.3.0 |
ocaml | 2.ml | 2156ms | 13ms | 91.8MB | 2103ms | 37ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 107.4MB | 4947ms | 37ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4937ms | 50ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 161ms | 4.4ms | 21.6MB | 143ms | 7ms | ocaml 5.3.0 |
ocaml | 2.ml | 362ms | 1.5ms | 27.7MB | 343ms | 3ms | ocaml 5.3.0 |
lua | 1.lua | 1626ms | 22ms | 31.1MB | 1600ms | 13ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2403ms | 68ms | 28.8MB | 2380ms | 10ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 4064ms | 3.3ms | 2.5MB | 4053ms | 0ms | luajit 2.1.0-beta3 |
ocaml | 2.ml | 4555ms | 3.1ms | 6.3MB | 4543ms | 0ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |