Current benchmark data was generated on Tue Mar 25 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.5ms | 10.3MB | 110ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 34ms | 0.7ms | 8.2MB | 30ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 127ms | 1.0ms | 7.5MB | 377ms | 3ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.2ms | 7.5MB | 33ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 123ms | 7.0ms | 56.3MB | 340ms | 93ms | go 1.24.1 |
1-m.go | 427ms | 28ms | 170.8MB | 743ms | 673ms | go 1.24.1 |
2-m.go | 435ms | 0.9ms | 168.4MB | 703ms | 713ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 30ms | 1.4ms | 25.6MB | 53ms | 20ms | go 1.24.1 |
1-m.go | 76ms | 6.3ms | 36.7MB | 100ms | 110ms | go 1.24.1 |
2-m.go | 77ms | 12ms | 33.7MB | 93ms | 120ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 689ms | 8.1ms | 40.1MB | 2413ms | 33ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 131ms | 3.0ms | 22.7MB | 347ms | 20ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 123ms | 2.4ms | 3.5MB | 113ms | 0ms | go 1.24.1 |
3.go | 134ms | 3.6ms | 0.5MB | 127ms | 0ms | tinygo 0.37.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1188ms | 4.7ms | 8.6MB | 1177ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 282ms | 2.2ms | 8.6MB | 270ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 91ms | 1.2ms | 7.3MB | 83ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 25ms | 0.5ms | 5.2MB | 20ms | 0ms | go 1.24.1 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1909ms | 14ms | 5.4MB | 7403ms | 3ms | go 1.24.1 |
1.go | 3659ms | 17ms | 5.5MB | 3650ms | 3ms | go 1.24.1 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.37.0 |