Current benchmark data was generated on Wed Mar 22 2023, 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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 168ms | 3.0ms | 8.3MB | 153ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 49ms | 1.5ms | 8.3MB | 40ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 252ms | 1.3ms | 2.9MB | 460ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 34ms | 2.0ms | 2.9MB | 40ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 182ms | 2.5ms | 61.3MB | 270ms | 33ms | go 1.20.2 |
2-m.go | 596ms | 17ms | 163.5MB | 560ms | 387ms | go 1.20.2 |
1-m.go | 635ms | 17ms | 166.6MB | 620ms | 373ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 46ms | 1.0ms | 23.7MB | 43ms | 10ms | go 1.20.2 |
2.go | 148ms | 2.3ms | 38.4MB | 87ms | 63ms | go 1.20.2 |
1.go | 152ms | 23ms | 39.9MB | 110ms | 63ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 1496ms | 7.0ms | 42.9MB | 2783ms | 27ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 252ms | 25ms | 22.3MB | 370ms | 20ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 166ms | 0.5ms | 0.4MB | 157ms | 0ms | tinygo 0.27.0 |
3.go | 173ms | 3.5ms | 3.4MB | 157ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1418ms | 9.0ms | 10.6MB | 1400ms | 3ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 343ms | 5.2ms | 8.5MB | 323ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 172ms | 2.1ms | 9.5MB | 157ms | 3ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 56ms | 2.4ms | 9.1MB | 40ms | 0ms | go 1.20.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 2507ms | 25ms | 5.4MB | 4857ms | 3ms | go 1.20.2 |
1.go | 4550ms | 110ms | 5.4MB | 4530ms | 7ms | go 1.20.2 |
1.go | timeout | 0.0ms | 0.4MB | 4987ms | 0ms | tinygo 0.27.0 |