Current benchmark data was generated on Mon Jun 23 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 | 118ms | 1.1ms | 8.5MB | 107ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 34ms | 0.1ms | 8.2MB | 30ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 125ms | 0.3ms | 7.5MB | 380ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.6ms | 7.6MB | 30ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 117ms | 4.2ms | 50.2MB | 330ms | 83ms | go 1.24.4 |
1-m.go | 371ms | 8.7ms | 171.0MB | 663ms | 577ms | go 1.24.4 |
2-m.go | 410ms | 5.9ms | 174.9MB | 743ms | 647ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 22ms | 12ms | 23.5MB | 55ms | 15ms | go 1.24.4 |
1-m.go | 64ms | 2.6ms | 30.5MB | 87ms | 93ms | go 1.24.4 |
2-m.go | 68ms | 5.4ms | 38.9MB | 87ms | 93ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 676ms | 7.8ms | 38.9MB | 2393ms | 23ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 130ms | 2.8ms | 23.9MB | 343ms | 23ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 121ms | 1.2ms | 3.5MB | 113ms | 0ms | go 1.24.4 |
3.go | 132ms | 2.6ms | 0.4MB | 127ms | 0ms | tinygo 0.38.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1174ms | 6.0ms | 10.6MB | 1160ms | 3ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 278ms | 2.4ms | 8.6MB | 267ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 92ms | 1.0ms | 5.2MB | 90ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 26ms | 0.6ms | 5.2MB | 20ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1917ms | 15ms | 5.5MB | 7387ms | 13ms | go 1.24.4 |
1.go | 3646ms | 8.0ms | 5.6MB | 3637ms | 0ms | go 1.24.4 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.38.0 |