Current benchmark data was generated on Tue Dec 31 2024, 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 | 113ms | 2.3ms | 8.5MB | 107ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 35ms | 1.8ms | 8.2MB | 27ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 123ms | 1.8ms | 5.4MB | 377ms | 7ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 17ms | 0.2ms | 5.4MB | 30ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 107ms | 6.3ms | 59.5MB | 310ms | 60ms | go 1.23.4 |
1-m.go | 457ms | 4.6ms | 172.4MB | 660ms | 590ms | go 1.23.4 |
2-m.go | 464ms | 18ms | 178.4MB | 627ms | 640ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 20ms | 10ms | 26.8MB | 45ms | 20ms | go 1.23.4 |
2-m.go | 98ms | 14ms | 40.3MB | 67ms | 110ms | go 1.23.4 |
1-m.go | 112ms | 11ms | 44.6MB | 123ms | 120ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 745ms | 2.7ms | 42.1MB | 2660ms | 20ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 139ms | 3.0ms | 29.7MB | 357ms | 37ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 121ms | 2.6ms | 0.3MB | 113ms | 0ms | tinygo 0.35.0 |
3.go | 122ms | 1.2ms | 3.4MB | 110ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1054ms | 8.1ms | 8.5MB | 1043ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 254ms | 6.5ms | 8.4MB | 243ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 135ms | 2.4ms | 12.0MB | 130ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 43ms | 1.0ms | 9.5MB | 33ms | 0ms | go 1.23.4 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1818ms | 34ms | 5.4MB | 6960ms | 13ms | go 1.23.4 |
1.go | 3496ms | 38ms | 5.5MB | 3487ms | 0ms | go 1.23.4 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.35.0 |