Current benchmark data was generated on Thu Feb 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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 827ms | 23ms | 37.1MB | 803ms | 7ms | v/clang+gc 0.4.4 |
v | 1.v | 2194ms | 3.1ms | 2086.6MB | 1293ms | 883ms | v/clang 0.4.4 |
go | 1-m.go | 2665ms | 13ms | 44.2MB | 5553ms | 47ms | go 1.21.6 |
go | 1.go | 4172ms | 25ms | 51.6MB | 4157ms | 3ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 464ms | 54ms | 15.4MB | 1767ms | 0ms | go 1.21.6 |
go | 1.go | 2438ms | 2.9ms | 256.6MB | 2400ms | 23ms | tinygo 0.30.0 |
v | 1.v | timeout | 0.0ms | 22.4MB | 9170ms | 10407ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 23.9MB | 9513ms | 10017ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 39ms | 4.8ms | 7.2MB | 127ms | 0ms | go 1.21.6 |
go | 1.go | 387ms | 1.7ms | 65.8MB | 373ms | 0ms | tinygo 0.30.0 |
v | 1-m.v | 2663ms | 268ms | 15.7MB | 5030ms | 5380ms | v/clang 0.4.4 |
v | 1-m.v | 2805ms | 118ms | 20.3MB | 5200ms | 5773ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 121ms | 6.0ms | 59.4MB | 300ms | 103ms | go 1.21.6 |
go | 2-m.go | 445ms | 7.9ms | 175.9MB | 593ms | 670ms | go 1.21.6 |
go | 1-m.go | 454ms | 8.3ms | 167.7MB | 667ms | 603ms | go 1.21.6 |
v | 1-m.v | 737ms | 12ms | 10.3MB | 483ms | 1447ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 128ms | 1.8ms | 3.3MB | 120ms | 0ms | go 1.21.6 |
go | 3.go | 135ms | 4.0ms | 0.3MB | 127ms | 0ms | tinygo 0.30.0 |
v | 1.v | 251ms | 3.2ms | 1.4MB | 240ms | 0ms | v/clang 0.4.4 |
v | 1.v | 261ms | 2.8ms | 2.3MB | 250ms | 0ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 311ms | 4.6ms | 72.5MB | 297ms | 0ms | go 1.21.6 |
v | 2.v | 328ms | 2.8ms | 6.9MB | 317ms | 0ms | v/clang+gc 0.4.4 |
v | 2.v | 330ms | 3.2ms | 6.1MB | 317ms | 0ms | v/clang 0.4.4 |
go | 1.go | 331ms | 2.1ms | 42.8MB | 320ms | 0ms | tinygo 0.30.0 |
v | 1.v | 343ms | 6.3ms | 40.3MB | 320ms | 5ms | v/clang 0.4.4 |
v | 1.v | 343ms | 10ms | 41.2MB | 333ms | 0ms | v/clang+gc 0.4.4 |
go | 2.go | 437ms | 5.1ms | 17.8MB | 427ms | 0ms | tinygo 0.30.0 |
go | 2.go | 740ms | 3.8ms | 21.7MB | 723ms | 3ms | go 1.21.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 62ms | 1.2ms | 21.6MB | 47ms | 0ms | go 1.21.6 |
v | 1.v | 62ms | 1.0ms | 11.9MB | 50ms | 0ms | v/clang+gc 0.4.4 |
v | 1.v | 65ms | 1.7ms | 11.0MB | 50ms | 0ms | v/clang 0.4.4 |
go | 1.go | 66ms | 1.0ms | 12.6MB | 53ms | 0ms | tinygo 0.30.0 |
v | 2.v | 81ms | 1.2ms | 2.5MB | 70ms | 0ms | v/clang 0.4.4 |
v | 2.v | 82ms | 1.1ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.4 |
go | 2.go | 110ms | 2.0ms | 4.6MB | 100ms | 0ms | tinygo 0.30.0 |
go | 2.go | 181ms | 1.7ms | 7.2MB | 170ms | 0ms | go 1.21.6 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1911ms | 7.7ms | 5.3MB | 7327ms | 0ms | go 1.21.6 |
go | 1.go | 3639ms | 25ms | 5.4MB | 3630ms | 0ms | go 1.21.6 |
go | 1.go | timeout | 0.0ms | 2.4MB | 4990ms | 0ms | tinygo 0.30.0 |
v | 1.v | timeout | 0.0ms | 1.8MB | 4990ms | 0ms | v/clang 0.4.4 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4987ms | 0ms | v/clang+gc 0.4.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 479ms | 0.9ms | 5.3MB | 1817ms | 3ms | go 1.21.6 |
go | 1.go | 928ms | 8.2ms | 3.3MB | 923ms | 0ms | go 1.21.6 |
v | 1.v | 1280ms | 17ms | 1.6MB | 1270ms | 0ms | v/clang 0.4.4 |
v | 1.v | 1312ms | 4.6ms | 2.6MB | 1297ms | 0ms | v/clang+gc 0.4.4 |
go | 1.go | 1394ms | 5.3ms | 0.4MB | 1383ms | 0ms | tinygo 0.30.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 126ms | 1.3ms | 5.3MB | 437ms | 0ms | go 1.21.6 |
go | 1.go | 236ms | 5.1ms | 3.3MB | 223ms | 0ms | go 1.21.6 |
v | 1.v | 322ms | 1.6ms | 1.6MB | 310ms | 0ms | v/clang 0.4.4 |
v | 1.v | 332ms | 1.3ms | 2.5MB | 320ms | 0ms | v/clang+gc 0.4.4 |
go | 1.go | 349ms | 0.4ms | 0.3MB | 340ms | 0ms | tinygo 0.30.0 |