Current benchmark data was generated on Sat Nov 16 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 | 769ms | 3.3ms | 22.1MB | 747ms | 7ms | v/clang+gc 0.4.8 |
v | 1.v | 2157ms | 4.3ms | 2086.6MB | 1213ms | 927ms | v/clang 0.4.8 |
go | 1-m.go | 2720ms | 34ms | 46.1MB | 5730ms | 43ms | go 1.23.3 |
go | 1.go | 3817ms | 45ms | 51.5MB | 3800ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 521ms | 93ms | 15.6MB | 1973ms | 3ms | go 1.23.3 |
go | 1.go | 1415ms | 5.8ms | 256.7MB | 1377ms | 23ms | tinygo 0.34.0 |
v | 1.v | timeout | 0.0ms | 21.9MB | 9567ms | 10113ms | v/clang 0.4.8 |
v | 1.v | timeout | 0.0ms | 24.3MB | 9530ms | 10047ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 50ms | 18ms | 7.5MB | 163ms | 0ms | go 1.23.3 |
go | 1.go | 256ms | 1.1ms | 66.7MB | 240ms | 0ms | tinygo 0.34.0 |
v | 1-m.v | 2669ms | 215ms | 20.3MB | 4983ms | 5390ms | v/clang+gc 0.4.8 |
v | 1-m.v | 2804ms | 681ms | 15.7MB | 5350ms | 5660ms | v/clang 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 131ms | 3.4ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 133ms | 2.8ms | 0.3MB | 123ms | 0ms | tinygo 0.34.0 |
v | 1.v | 237ms | 4.3ms | 1.3MB | 223ms | 0ms | v/clang 0.4.8 |
v | 1.v | 259ms | 3.8ms | 2.1MB | 247ms | 0ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 299ms | 2.5ms | 41.2MB | 287ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 302ms | 4.7ms | 71.7MB | 287ms | 3ms | go 1.23.3 |
v | 1.v | 306ms | 1.4ms | 40.3MB | 290ms | 0ms | v/clang 0.4.8 |
v | 2.v | 327ms | 4.4ms | 6.9MB | 317ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 361ms | 8.8ms | 42.8MB | 347ms | 0ms | tinygo 0.34.0 |
v | 2.v | 419ms | 3.6ms | 6.1MB | 410ms | 0ms | v/clang 0.4.8 |
go | 2.go | 434ms | 4.2ms | 17.3MB | 423ms | 0ms | tinygo 0.34.0 |
go | 2.go | 779ms | 0.5ms | 21.8MB | 763ms | 7ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 58ms | 0.7ms | 11.9MB | 47ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 60ms | 0.6ms | 21.6MB | 47ms | 0ms | go 1.23.3 |
v | 1.v | 62ms | 1.1ms | 11.0MB | 50ms | 0ms | v/clang 0.4.8 |
go | 1.go | 65ms | 2.5ms | 13.7MB | 53ms | 0ms | tinygo 0.34.0 |
v | 2.v | 82ms | 1.9ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.8 |
v | 2.v | 102ms | 1.1ms | 2.4MB | 90ms | 0ms | v/clang 0.4.8 |
go | 2.go | 107ms | 1.7ms | 5.6MB | 97ms | 0ms | tinygo 0.34.0 |
go | 2.go | 197ms | 2.3ms | 7.6MB | 180ms | 3ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1890ms | 3.1ms | 5.5MB | 7367ms | 0ms | go 1.23.3 |
go | 1.go | 3654ms | 21ms | 5.5MB | 3643ms | 3ms | go 1.23.3 |
go | 1.go | timeout | 0.0ms | 2.3MB | 4990ms | 0ms | tinygo 0.34.0 |
v | 1.v | timeout | 0.0ms | 1.6MB | 4990ms | 0ms | v/clang 0.4.8 |
v | 1.v | timeout | 0.0ms | 3.0MB | 4990ms | 0ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 479ms | 3.5ms | 5.5MB | 1820ms | 7ms | go 1.23.3 |
go | 1.go | 922ms | 9.4ms | 3.4MB | 913ms | 0ms | go 1.23.3 |
v | 1.v | 1276ms | 3.2ms | 1.5MB | 1263ms | 0ms | v/clang 0.4.8 |
v | 1.v | 1305ms | 3.2ms | 2.6MB | 1290ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 1392ms | 2.1ms | 0.4MB | 1380ms | 0ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 126ms | 2.3ms | 5.4MB | 437ms | 3ms | go 1.23.3 |
go | 1.go | 235ms | 4.7ms | 3.4MB | 227ms | 0ms | go 1.23.3 |
v | 1.v | 324ms | 1.8ms | 1.5MB | 310ms | 0ms | v/clang 0.4.8 |
v | 1.v | 329ms | 1.4ms | 2.5MB | 320ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 350ms | 0.2ms | 0.3MB | 340ms | 0ms | tinygo 0.34.0 |