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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 836ms | 6.6ms | 22.1MB | 817ms | 7ms | v/clang+gc 0.4.8 |
v | 1.v | 2183ms | 50ms | 2086.6MB | 1270ms | 893ms | v/clang 0.4.8 |
go | 1-m.go | 2710ms | 23ms | 43.6MB | 5730ms | 53ms | go 1.23.3 |
go | 1.go | 3491ms | 59ms | 52.2MB | 3473ms | 3ms | tinygo 0.34.0 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 475ms | 53ms | 15.6MB | 1840ms | 0ms | go 1.23.3 |
go | 1.go | 1414ms | 6.0ms | 256.2MB | 1393ms | 7ms | tinygo 0.34.0 |
v | 1.v | timeout | 0.0ms | 22.2MB | 9390ms | 10183ms | v/clang 0.4.8 |
v | 1.v | timeout | 0.0ms | 22.7MB | 9123ms | 10333ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-m.go | 40ms | 5.4ms | 7.5MB | 123ms | 0ms | go 1.23.3 |
go | 1.go | 257ms | 2.0ms | 66.7MB | 240ms | 0ms | tinygo 0.34.0 |
v | 1-m.v | 2847ms | 390ms | 15.8MB | 5313ms | 5787ms | v/clang 0.4.8 |
v | 1-m.v | 2925ms | 120ms | 20.2MB | 5463ms | 5907ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 3.go | 132ms | 1.8ms | 3.4MB | 123ms | 0ms | go 1.23.3 |
go | 3.go | 135ms | 3.9ms | 0.3MB | 127ms | 0ms | tinygo 0.34.0 |
v | 1.v | 239ms | 2.0ms | 1.3MB | 230ms | 0ms | v/clang 0.4.8 |
v | 1.v | 259ms | 4.5ms | 2.1MB | 250ms | 0ms | v/clang+gc 0.4.8 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 312ms | 0.7ms | 73.6MB | 293ms | 3ms | go 1.23.3 |
go | 1.go | 318ms | 4.6ms | 42.9MB | 307ms | 0ms | tinygo 0.34.0 |
v | 1.v | 320ms | 15ms | 40.3MB | 303ms | 3ms | v/clang 0.4.8 |
v | 2.v | 336ms | 3.9ms | 6.9MB | 327ms | 0ms | v/clang+gc 0.4.8 |
v | 1.v | 356ms | 8.0ms | 41.2MB | 343ms | 0ms | v/clang+gc 0.4.8 |
v | 2.v | 419ms | 1.9ms | 6.1MB | 410ms | 0ms | v/clang 0.4.8 |
go | 2.go | 432ms | 2.1ms | 18.0MB | 420ms | 0ms | tinygo 0.34.0 |
go | 2.go | 787ms | 2.3ms | 21.9MB | 780ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1.go | 57ms | 0.9ms | 13.7MB | 47ms | 0ms | tinygo 0.34.0 |
v | 1.v | 58ms | 1.6ms | 11.0MB | 47ms | 0ms | v/clang 0.4.8 |
go | 1.go | 60ms | 4.2ms | 21.6MB | 50ms | 0ms | go 1.23.3 |
v | 1.v | 63ms | 1.1ms | 11.9MB | 50ms | 0ms | v/clang+gc 0.4.8 |
v | 2.v | 82ms | 0.3ms | 3.1MB | 70ms | 0ms | v/clang+gc 0.4.8 |
v | 2.v | 105ms | 1.0ms | 2.4MB | 93ms | 0ms | v/clang 0.4.8 |
go | 2.go | 117ms | 6.5ms | 5.9MB | 107ms | 0ms | tinygo 0.34.0 |
go | 2.go | 196ms | 2.3ms | 6.3MB | 183ms | 0ms | go 1.23.3 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 4-m.go | 1907ms | 17ms | 5.4MB | 7330ms | 10ms | go 1.23.3 |
go | 1.go | 3680ms | 35ms | 5.4MB | 3673ms | 0ms | go 1.23.3 |
go | 1.go | timeout | 0.0ms | 0.5MB | 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 | 0.2ms | 5.5MB | 1817ms | 3ms | go 1.23.3 |
go | 1.go | 934ms | 5.6ms | 3.4MB | 927ms | 0ms | go 1.23.3 |
v | 1.v | 1281ms | 4.1ms | 1.5MB | 1273ms | 0ms | v/clang 0.4.8 |
v | 1.v | 1313ms | 9.0ms | 2.6MB | 1300ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 1390ms | 1.4ms | 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 | 0.7ms | 5.4MB | 447ms | 0ms | go 1.23.3 |
go | 1.go | 234ms | 4.3ms | 3.4MB | 223ms | 0ms | go 1.23.3 |
v | 1.v | 324ms | 1.5ms | 1.5MB | 310ms | 0ms | v/clang 0.4.8 |
v | 1.v | 334ms | 1.2ms | 2.5MB | 323ms | 0ms | v/clang+gc 0.4.8 |
go | 1.go | 349ms | 0.1ms | 0.3MB | 340ms | 0ms | tinygo 0.34.0 |