Current benchmark data was generated on Thu Jul 13 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 | 163ms | 1.2ms | 8.3MB | 153ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 48ms | 1.4ms | 8.1MB | 37ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 255ms | 4.3ms | 2.9MB | 457ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 31ms | 0.6ms | 2.9MB | 40ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 11ms | 2.3ms | 17.3MB | 0ms | 0ms | go 1.20.6 |
2-m.go | 560ms | 15ms | 159.4MB | 537ms | 350ms | go 1.20.6 |
1-m.go | 610ms | 23ms | 175.2MB | 570ms | 397ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 39ms | 2.0ms | 26.1MB | 43ms | 3ms | go 1.20.6 |
1.go | 122ms | 7.7ms | 37.4MB | 87ms | 50ms | go 1.20.6 |
2.go | 128ms | 8.4ms | 38.4MB | 87ms | 53ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 1492ms | 12ms | 45.7MB | 2787ms | 23ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 226ms | 12ms | 24.8MB | 357ms | 23ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 174ms | 0.2ms | 0.4MB | 160ms | 0ms | tinygo 0.28.1 |
3.go | 177ms | 1.4ms | 3.4MB | 163ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1388ms | 2.0ms | 8.5MB | 1373ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 334ms | 0.9ms | 8.5MB | 320ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 170ms | 2.7ms | 9.4MB | 163ms | 3ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 55ms | 1.5ms | 9.4MB | 43ms | 0ms | go 1.20.6 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 2512ms | 26ms | 5.5MB | 4843ms | 0ms | go 1.20.6 |
1.go | 4902ms | 6.8ms | 5.5MB | 4893ms | 0ms | go 1.20.6 |
1.go | timeout | 0.0ms | 2.0MB | 4990ms | 0ms | tinygo 0.28.1 |