Current benchmark data was generated on Fri Jul 01 2022, 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 | 200ms | 2.9ms | 11.7MB | 190ms | 3ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 58ms | 3.5ms | 8.1MB | 47ms | 0ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 258ms | 3.5ms | 2.9MB | 463ms | 0ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 33ms | 0.8ms | 2.9MB | 40ms | 0ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 240ms | 23ms | 58.1MB | 350ms | 67ms | go 1.18.3 |
1-m.go | 763ms | 87ms | 174.3MB | 757ms | 490ms | go 1.18.3 |
2.go | 793ms | 92ms | 165.4MB | 633ms | 467ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 40ms | 25ms | 23.4MB | 60ms | 10ms | go 1.18.3 |
2.go | 146ms | 6.8ms | 35.9MB | 93ms | 73ms | go 1.18.3 |
1.go | 152ms | 22ms | 38.8MB | 93ms | 77ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 1723ms | 63ms | 41.3MB | 3163ms | 47ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 274ms | 8.1ms | 22.4MB | 423ms | 20ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 210ms | 5.4ms | 2.9MB | 197ms | 0ms | go 1.18.3 |
3.go | 230ms | 24ms | 2.0MB | 217ms | 0ms | tinygo 0.23.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1580ms | 22ms | 8.5MB | 1553ms | 10ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 375ms | 5.3ms | 8.5MB | 357ms | 0ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 189ms | 0.8ms | 9.8MB | 170ms | 7ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 62ms | 1.9ms | 9.5MB | 47ms | 0ms | go 1.18.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 2755ms | 35ms | 5.3MB | 5270ms | 13ms | go 1.18.3 |
1.go | timeout | 0.0ms | 0.0MB | 0ms | 0ms | go 1.18.3 |
1.go | timeout | 0.0ms | 0.0MB | 0ms | 0ms | tinygo 0.23.0 |