Current benchmark data was generated on Wed Jan 22 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 | 1060ms | 22ms | 71.2MB | 1023ms | 27ms | ocaml 5.3.0 |
ocaml | 2.ml | 2025ms | 10ms | 91.8MB | 1973ms | 37ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 107.5MB | 4940ms | 47ms | lua 5.4.7 |
lua | 1.lua | timeout | 0.0ms | 149.3MB | 4933ms | 47ms | luajit 2.1.0-beta3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 148ms | 2.0ms | 21.6MB | 133ms | 0ms | ocaml 5.3.0 |
ocaml | 2.ml | 352ms | 1.6ms | 27.7MB | 327ms | 7ms | ocaml 5.3.0 |
lua | 1.lua | 1152ms | 5.2ms | 31.1MB | 1120ms | 17ms | luajit 2.1.0-beta3 |
lua | 1.lua | 2299ms | 31ms | 28.6MB | 2263ms | 20ms | lua 5.4.7 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
lua | 1.lua | 4060ms | 12ms | 2.5MB | 4047ms | 0ms | luajit 2.1.0-beta3 |
ocaml | 2.ml | 4564ms | 17ms | 6.3MB | 4553ms | 0ms | ocaml 5.3.0 |
lua | 1.lua | timeout | 0.0ms | 2.5MB | 4987ms | 0ms | lua 5.4.7 |