Current benchmark data was generated on Thu Feb 01 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 | 128ms | 1.8ms | 3.3MB | 120ms | 0ms | go 1.21.6 |
go | 3.go | 135ms | 4.0ms | 0.3MB | 127ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 1632ms | 20ms | 39.1MB | 3303ms | 47ms | go 1.21.6 |
go | 2-m.go | 1860ms | 6.1ms | 41.4MB | 3863ms | 37ms | go 1.21.6 |
go | 1.go | 2314ms | 36ms | 51.7MB | 2297ms | 7ms | tinygo 0.30.0 |
go | 2.go | 3797ms | 21ms | 119.4MB | 3773ms | 7ms | tinygo 0.30.0 |
php | 1.php | 4001ms | 93ms | 113.7MB | 3957ms | 27ms | php 8.2.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 365ms | 1.8ms | 13.8MB | 710ms | 13ms | go 1.21.6 |
go | 2-m.go | 409ms | 1.0ms | 13.8MB | 820ms | 20ms | go 1.21.6 |
go | 1.go | 445ms | 1.4ms | 13.8MB | 433ms | 0ms | tinygo 0.30.0 |
go | 2.go | 684ms | 10ms | 39.5MB | 670ms | 0ms | tinygo 0.30.0 |
php | 1.php | 830ms | 5.3ms | 66.9MB | 793ms | 20ms | php 8.2.14 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1911ms | 7.7ms | 5.3MB | 7327ms | 0ms | go 1.21.6 |
go | 1.go | 3639ms | 25ms | 5.4MB | 3630ms | 0ms | go 1.21.6 |
go | 1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |