Current benchmark data was generated on Fri Jul 01 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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 3691ms | 34ms | 4.9MB | 3680ms | 0ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 314ms | 2.6ms | 4.9MB | 303ms | 0ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.swift | 322ms | 13ms | 21.0MB | 533ms | 10ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.swift | 58ms | 2.1ms | 14.5MB | 50ms | 7ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2.6ms | 1.1ms | 2.3MB | 0ms | 0ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 2775ms | 358ms | 42.8MB | 4757ms | 43ms | swift 5.6.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 447ms | 20ms | 31.8MB | 727ms | 33ms | swift 5.6.2 |