Current benchmark data was generated on Sun Dec 01 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 | 119ms | 0.4ms | 8.4MB | 110ms | 0ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.go | 36ms | 1.0ms | 8.3MB | 27ms | 0ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 128ms | 0.9ms | 5.4MB | 397ms | 3ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.go | 18ms | 0.2ms | 5.5MB | 37ms | 0ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 121ms | 2.2ms | 65.8MB | 333ms | 80ms | go 1.23.3 |
1-m.go | 469ms | 13ms | 178.2MB | 657ms | 693ms | go 1.23.3 |
2-m.go | 471ms | 13ms | 172.3MB | 627ms | 700ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1-http2.go | 28ms | 3.1ms | 23.0MB | 57ms | 10ms | go 1.23.3 |
1-m.go | 96ms | 6.3ms | 36.5MB | 77ms | 127ms | go 1.23.3 |
2-m.go | 112ms | 12ms | 42.5MB | 93ms | 133ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 794ms | 3.9ms | 40.6MB | 2797ms | 37ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
7-m.go | 147ms | 0.5ms | 25.9MB | 380ms | 27ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.go | 132ms | 1.8ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
3.go | 135ms | 3.9ms | 0.3MB | 127ms | 0ms | tinygo 0.34.0 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 1129ms | 4.6ms | 8.4MB | 1110ms | 7ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
8.go | 272ms | 4.4ms | 8.4MB | 263ms | 0ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 141ms | 1.8ms | 13.5MB | 130ms | 3ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
0-ffi.go | 47ms | 0.4ms | 12.0MB | 37ms | 0ms | go 1.23.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
4-m.go | 1907ms | 17ms | 5.4MB | 7330ms | 10ms | go 1.23.3 |
1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
1.go | timeout | 0.0ms | 0.5MB | 4990ms | 0ms | tinygo 0.34.0 |