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 | 1.go | 311ms | 4.6ms | 72.5MB | 297ms | 0ms | go 1.21.6 |
go | 1.go | 331ms | 2.1ms | 42.8MB | 320ms | 0ms | tinygo 0.30.0 |
codon | 1.py | 406ms | 0.9ms | 46.5MB | 390ms | 0ms | codon 0.16.3 |
go | 2.go | 437ms | 5.1ms | 17.8MB | 427ms | 0ms | tinygo 0.30.0 |
codon | 2.py | 482ms | 8.3ms | 107.0MB | 463ms | 13ms | codon 0.16.3 |
go | 2.go | 740ms | 3.8ms | 21.7MB | 723ms | 3ms | go 1.21.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 62ms | 1.2ms | 21.6MB | 47ms | 0ms | go 1.21.6 |
go | 1.go | 66ms | 1.0ms | 12.6MB | 53ms | 0ms | tinygo 0.30.0 |
codon | 1.py | 81ms | 2.0ms | 17.2MB | 70ms | 0ms | codon 0.16.3 |
go | 2.go | 110ms | 2.0ms | 4.6MB | 100ms | 0ms | tinygo 0.30.0 |
codon | 2.py | 110ms | 3.4ms | 26.0MB | 97ms | 3ms | codon 0.16.3 |
go | 2.go | 181ms | 1.7ms | 7.2MB | 170ms | 0ms | go 1.21.6 |