Current benchmark data was generated on Mon May 19 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 | 178ms | 7.5ms | 6.6MB | 167ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 1089ms | 3.3ms | 70.2MB | 1053ms | 20ms | ocaml 5.3.0 |
ocaml | 2.ml | 2063ms | 7.0ms | 91.8MB | 2010ms | 40ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 107.4MB | 4950ms | 33ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4930ms | 57ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 147ms | 2.5ms | 21.7MB | 130ms | 3ms | ocaml 5.3.0 |
ocaml | 2.ml | 366ms | 7.2ms | 27.6MB | 343ms | 10ms | ocaml 5.3.0 |
lua | 1.lua | 1219ms | 43ms | 31.1MB | 1187ms | 17ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2203ms | 7.2ms | 28.6MB | 2187ms | 7ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 4074ms | 26ms | 2.5MB | 4067ms | 0ms | luajit 2.1.0-beta3 |
ocaml | 2.ml | 4567ms | 9.8ms | 6.3MB | 4560ms | 0ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |