Current benchmark data was generated on Tue Jul 01 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 | 0.0ms | 8.6MB | 110ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 34ms | 0.5ms | 8.2MB | 30ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 126ms | 0.7ms | 5.5MB | 377ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.4ms | 7.5MB | 30ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 123ms | 1.9ms | 56.3MB | 350ms | 80ms | go 1.24.4 |
2-m.go | 381ms | 35ms | 167.6MB | 670ms | 623ms | go 1.24.4 |
1-m.go | 397ms | 21ms | 166.2MB | 737ms | 610ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 31ms | 1.3ms | 26.0MB | 60ms | 20ms | go 1.24.4 |
1-m.go | 73ms | 5.1ms | 38.9MB | 103ms | 93ms | go 1.24.4 |
2-m.go | 78ms | 5.4ms | 34.7MB | 113ms | 110ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 695ms | 16ms | 39.7MB | 2387ms | 30ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 131ms | 3.9ms | 22.8MB | 350ms | 17ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 121ms | 2.4ms | 3.5MB | 113ms | 0ms | go 1.24.4 |
3.go | 134ms | 1.8ms | 0.4MB | 127ms | 0ms | tinygo 0.38.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1207ms | 7.6ms | 8.6MB | 1193ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 283ms | 3.4ms | 8.6MB | 270ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 91ms | 0.9ms | 5.2MB | 83ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 25ms | 0.9ms | 5.2MB | 20ms | 0ms | go 1.24.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1900ms | 1.2ms | 5.5MB | 7423ms | 7ms | go 1.24.4 |
1.go | 3659ms | 14ms | 5.5MB | 3650ms | 3ms | go 1.24.4 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.38.0 |