Current benchmark data was generated on Sat Nov 16 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 |
---|---|---|---|---|---|---|---|
go | 3.go | 131ms | 3.4ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 133ms | 2.8ms | 0.3MB | 123ms | 0ms | tinygo 0.34.0 |
ocaml | 1.ml | 180ms | 5.6ms | 6.5MB | 167ms | 0ms | ocaml 5.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 1126ms | 31ms | 71.0MB | 1087ms | 20ms | ocaml 5.2.0 |
go | 1-m.go | 1612ms | 18ms | 36.6MB | 3263ms | 33ms | go 1.23.3 |
go | 2-m.go | 1871ms | 71ms | 43.0MB | 3923ms | 27ms | go 1.23.3 |
go | 1.go | 2050ms | 9.5ms | 52.0MB | 2030ms | 3ms | tinygo 0.34.0 |
ocaml | 2.ml | 2098ms | 41ms | 91.9MB | 2040ms | 40ms | ocaml 5.2.0 |
go | 2.go | 3360ms | 7.7ms | 90.6MB | 3333ms | 10ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
ocaml | 1.ml | 154ms | 0.1ms | 21.6MB | 140ms | 0ms | ocaml 5.2.0 |
go | 1-m.go | 365ms | 1.7ms | 12.1MB | 700ms | 27ms | go 1.23.3 |
ocaml | 2.ml | 368ms | 8.4ms | 27.6MB | 347ms | 7ms | ocaml 5.2.0 |
go | 2-m.go | 410ms | 1.5ms | 13.9MB | 847ms | 13ms | go 1.23.3 |
go | 1.go | 441ms | 5.4ms | 13.7MB | 430ms | 0ms | tinygo 0.34.0 |
go | 2.go | 669ms | 4.4ms | 29.0MB | 657ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 302ms | 4.7ms | 71.7MB | 287ms | 3ms | go 1.23.3 |
go | 1.go | 361ms | 8.8ms | 42.8MB | 347ms | 0ms | tinygo 0.34.0 |
go | 2.go | 434ms | 4.2ms | 17.3MB | 423ms | 0ms | tinygo 0.34.0 |
go | 2.go | 779ms | 0.5ms | 21.8MB | 763ms | 7ms | go 1.23.3 |
ocaml | 1.ml | 975ms | 2.8ms | 552.4MB | 910ms | 50ms | ocaml 5.2.0 |
ocaml | 2.ml | 1932ms | 30ms | 17.2MB | 1920ms | 0ms | ocaml 5.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 60ms | 0.6ms | 21.6MB | 47ms | 0ms | go 1.23.3 |
go | 1.go | 65ms | 2.5ms | 13.7MB | 53ms | 0ms | tinygo 0.34.0 |
go | 2.go | 107ms | 1.7ms | 5.6MB | 97ms | 0ms | tinygo 0.34.0 |
ocaml | 1.ml | 193ms | 2.0ms | 142.3MB | 170ms | 10ms | ocaml 5.2.0 |
go | 2.go | 197ms | 2.3ms | 7.6MB | 180ms | 3ms | go 1.23.3 |
ocaml | 2.ml | 478ms | 6.0ms | 9.1MB | 463ms | 0ms | ocaml 5.2.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1890ms | 3.1ms | 5.5MB | 7367ms | 0ms | go 1.23.3 |
go | 1.go | 3654ms | 21ms | 5.5MB | 3643ms | 3ms | go 1.23.3 |
ocaml | 2.ml | 4482ms | 6.4ms | 6.4MB | 4473ms | 0ms | ocaml 5.2.0 |
go | 1.go | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | tinygo 0.34.0 |