Current benchmark data was generated on Sat Mar 29 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 | 120ms | 1.0ms | 3.5MB | 110ms | 0ms | go 1.24.1 |
go | 3.go | 135ms | 1.8ms | 0.5MB | 127ms | 0ms | tinygo 0.37.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1901ms | 1.6ms | 5.5MB | 7417ms | 3ms | go 1.24.1 |
go | 1.go | 3665ms | 8.1ms | 5.6MB | 3660ms | 0ms | go 1.24.1 |
go | 1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.37.0 |
perl | 4.pl | timeout | 0.0ms | 9.8MB | 19777ms | 7ms | perl 5.40.1 |