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 |
---|---|---|---|---|---|---|---|
go | 3.go | 128ms | 2.5ms | 0.3MB | 120ms | 0ms | tinygo 0.35.0 |
go | 3.go | 132ms | 1.5ms | 3.4MB | 123ms | 0ms | go 1.23.5 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1892ms | 1.2ms | 5.5MB | 7360ms | 13ms | go 1.23.5 |
go | 1.go | 3668ms | 14ms | 5.5MB | 3660ms | 3ms | go 1.23.5 |
go | 1.go | timeout | 0.0ms | 2.2MB | 4990ms | 0ms | tinygo 0.35.0 |
perl | 4.pl | timeout | 0.0ms | 13.8MB | 19717ms | 23ms | perl 5.40.1 |