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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 119ms | 0.4ms | 10.2MB | 110ms | 0ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 35ms | 1.4ms | 8.3MB | 27ms | 0ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 123ms | 0.2ms | 5.3MB | 370ms | 0ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.4ms | 5.3MB | 30ms | 0ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 121ms | 6.0ms | 59.4MB | 300ms | 103ms | go 1.21.6 |
2-m.go | 445ms | 7.9ms | 175.9MB | 593ms | 670ms | go 1.21.6 |
1-m.go | 454ms | 8.3ms | 167.7MB | 667ms | 603ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 25ms | 14ms | 25.4MB | 50ms | 30ms | go 1.21.6 |
2-m.go | 111ms | 29ms | 33.9MB | 87ms | 83ms | go 1.21.6 |
1-m.go | 112ms | 8.6ms | 38.1MB | 97ms | 97ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 783ms | 4.0ms | 40.2MB | 2817ms | 27ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 147ms | 4.5ms | 30.6MB | 373ms | 37ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 128ms | 1.8ms | 3.3MB | 120ms | 0ms | go 1.21.6 |
3.go | 135ms | 4.0ms | 0.3MB | 127ms | 0ms | tinygo 0.30.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1129ms | 7.4ms | 8.4MB | 1110ms | 7ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 271ms | 3.7ms | 8.5MB | 257ms | 3ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 141ms | 1.0ms | 12.2MB | 137ms | 3ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 46ms | 1.0ms | 11.9MB | 40ms | 0ms | go 1.21.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1911ms | 7.7ms | 5.3MB | 7327ms | 0ms | go 1.21.6 |
1.go | 3639ms | 25ms | 5.4MB | 3630ms | 0ms | go 1.21.6 |
1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |