Current benchmark data was generated on Mon Apr 14 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 | 117ms | 0.9ms | 10.4MB | 110ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 33ms | 0.2ms | 8.2MB | 27ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 117ms | 0.3ms | 7.5MB | 380ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 1.3ms | 7.5MB | 30ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 123ms | 2.4ms | 60.3MB | 333ms | 77ms | go 1.24.2 |
2-m.go | 416ms | 8.9ms | 174.9MB | 703ms | 690ms | go 1.24.2 |
1-m.go | 422ms | 20ms | 172.9MB | 730ms | 673ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 21ms | 12ms | 27.6MB | 50ms | 15ms | go 1.24.2 |
2-m.go | 80ms | 14ms | 37.9MB | 97ms | 120ms | go 1.24.2 |
1-m.go | 81ms | 19ms | 36.6MB | 113ms | 117ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 679ms | 5.3ms | 41.5MB | 2393ms | 23ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 130ms | 3.5ms | 22.2MB | 343ms | 17ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 119ms | 2.9ms | 3.5MB | 113ms | 0ms | go 1.24.2 |
3.go | 131ms | 2.5ms | 0.5MB | 123ms | 0ms | tinygo 0.37.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1132ms | 4.8ms | 8.7MB | 1117ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 269ms | 4.3ms | 8.5MB | 257ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 93ms | 0.9ms | 7.2MB | 90ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 27ms | 0.2ms | 5.2MB | 20ms | 0ms | go 1.24.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1911ms | 19ms | 5.4MB | 7407ms | 10ms | go 1.24.2 |
1.go | 3650ms | 0.9ms | 5.6MB | 3640ms | 3ms | go 1.24.2 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.37.0 |