Current benchmark data was generated on Fri May 20 2022, 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 | 399ms | 1.3ms | 0.6MB | 390ms | 0ms | v/clang 0.2.4 |
v | 1.v | 416ms | 0.8ms | 2.3MB | 400ms | 0ms | v/clang+gc 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 4672ms | 119ms | 3.2MB | 4640ms | 10ms | v/clang+gc 0.2.4 |
swift | 1.swift | timeout | 0.0ms | 0.0MB | 0ms | 0ms | swift 5.6.1 |
v | 1.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang 0.2.4 |
v | 2.v | timeout | 0.0ms | 0.0MB | 0ms | 0ms | v/clang+gc 0.2.4 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 1163ms | 20ms | 2.7MB | 1147ms | 0ms | v/clang+gc 0.2.4 |
v | 2.v | 1568ms | 4.5ms | 3.2MB | 1550ms | 3ms | v/clang+gc 0.2.4 |
v | 1.v | 2202ms | 1.6ms | 2459.0MB | 1173ms | 1017ms | v/clang 0.2.4 |
swift | 1.swift | 3474ms | 78ms | 6.4MB | 3450ms | 0ms | swift 5.6.1 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
v | 1.v | 4117ms | 0.3ms | 1.8MB | 4110ms | 0ms | v/clang 0.2.4 |
v | 1.v | 4119ms | 2.0ms | 3.0MB | 4103ms | 0ms | v/clang+gc 0.2.4 |