Current benchmark data was generated on Wed Jan 22 2025, 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 | 120ms | 0.9ms | 10.2MB | 107ms | 3ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 34ms | 1.2ms | 8.2MB | 27ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 127ms | 2.7ms | 5.4MB | 403ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 18ms | 0.6ms | 5.4MB | 37ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 111ms | 2.5ms | 65.7MB | 310ms | 73ms | go 1.23.5 |
2-m.go | 466ms | 13ms | 174.6MB | 687ms | 623ms | go 1.23.5 |
1-m.go | 468ms | 64ms | 172.4MB | 660ms | 667ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 16ms | 13ms | 25.1MB | 60ms | 20ms | go 1.23.5 |
2-m.go | 97ms | 9.8ms | 38.4MB | 83ms | 117ms | go 1.23.5 |
1-m.go | 107ms | 11ms | 40.6MB | 97ms | 137ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 784ms | 0.8ms | 40.9MB | 2790ms | 30ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 142ms | 1.4ms | 25.0MB | 377ms | 30ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 128ms | 2.5ms | 0.3MB | 120ms | 0ms | tinygo 0.35.0 |
3.go | 132ms | 1.5ms | 3.4MB | 123ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1122ms | 10ms | 8.5MB | 1107ms | 3ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 269ms | 3.8ms | 8.5MB | 253ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 140ms | 0.4ms | 12.6MB | 133ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 46ms | 0.6ms | 12.0MB | 33ms | 0ms | go 1.23.5 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1892ms | 1.2ms | 5.5MB | 7360ms | 13ms | go 1.23.5 |
1.go | 3668ms | 14ms | 5.5MB | 3660ms | 3ms | go 1.23.5 |
1.go | timeout | 0.0ms | 2.2MB | 4990ms | 0ms | tinygo 0.35.0 |