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 | 1-m.go | 1620ms | 14ms | 38.8MB | 3270ms | 40ms | go 1.23.5 |
go | 2-m.go | 1834ms | 9.4ms | 42.9MB | 3840ms | 37ms | go 1.23.5 |
go | 1.go | 2011ms | 29ms | 52.2MB | 2000ms | 0ms | tinygo 0.35.0 |
go | 2.go | 3279ms | 28ms | 90.6MB | 3257ms | 7ms | tinygo 0.35.0 |
php | 1.php | 3744ms | 64ms | 113.9MB | 3703ms | 23ms | php 8.2.27 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 362ms | 1.2ms | 12.1MB | 700ms | 20ms | go 1.23.5 |
go | 1.go | 400ms | 4.7ms | 13.4MB | 390ms | 0ms | tinygo 0.35.0 |
go | 2-m.go | 404ms | 1.6ms | 14.1MB | 820ms | 17ms | go 1.23.5 |
go | 2.go | 600ms | 8.5ms | 29.8MB | 590ms | 0ms | tinygo 0.35.0 |
php | 1.php | 826ms | 9.2ms | 67.1MB | 787ms | 23ms | php 8.2.27 |
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 |