Current benchmark data was generated on Mon May 19 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.8ms | 10.2MB | 110ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 35ms | 1.6ms | 8.2MB | 30ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 126ms | 0.6ms | 7.5MB | 377ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.0ms | 7.6MB | 30ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 127ms | 6.3ms | 56.1MB | 350ms | 83ms | go 1.24.3 |
2-m.go | 394ms | 6.3ms | 174.8MB | 710ms | 633ms | go 1.24.3 |
1-m.go | 400ms | 12ms | 170.8MB | 693ms | 633ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 30ms | 1.2ms | 27.6MB | 60ms | 17ms | go 1.24.3 |
2-m.go | 72ms | 2.9ms | 34.9MB | 100ms | 107ms | go 1.24.3 |
1-m.go | 75ms | 0.8ms | 36.6MB | 103ms | 110ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 691ms | 14ms | 39.6MB | 2427ms | 27ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 133ms | 2.9ms | 22.8MB | 353ms | 23ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 120ms | 3.2ms | 3.5MB | 113ms | 0ms | go 1.24.3 |
3.go | 133ms | 2.2ms | 0.5MB | 123ms | 0ms | tinygo 0.37.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1191ms | 8.1ms | 8.6MB | 1180ms | 3ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 283ms | 4.5ms | 8.6MB | 273ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 91ms | 2.0ms | 5.1MB | 87ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 27ms | 0.8ms | 5.2MB | 20ms | 0ms | go 1.24.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1909ms | 16ms | 5.6MB | 7410ms | 7ms | go 1.24.3 |
1.go | 3665ms | 9.0ms | 5.6MB | 3663ms | 0ms | go 1.24.3 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.37.0 |