Current benchmark data was generated on Tue Mar 25 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 | 2.2ms | 6.4MB | 170ms | 0ms | ocaml 5.3.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 1104ms | 1.1ms | 70.3MB | 1060ms | 30ms | ocaml 5.3.0 |
ocaml | 2.ml | 2279ms | 5.8ms | 91.8MB | 2220ms | 43ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 107.5MB | 4950ms | 33ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4927ms | 60ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 149ms | 3.1ms | 21.6MB | 130ms | 7ms | ocaml 5.3.0 |
ocaml | 2.ml | 396ms | 3.4ms | 27.7MB | 377ms | 7ms | ocaml 5.3.0 |
lua | 1.lua | 1193ms | 7.0ms | 31.3MB | 1163ms | 17ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2269ms | 74ms | 28.6MB | 2247ms | 7ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 4066ms | 6.0ms | 2.5MB | 4057ms | 0ms | luajit 2.1.0-beta3 |
ocaml | 2.ml | 4585ms | 15ms | 6.4MB | 4573ms | 0ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | lua 5.4.7 |