Current benchmark data was generated on Tue Dec 31 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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2431ms | 13ms | 54.0MB | 2407ms | 7ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 222ms | 2.8ms | 11.8MB | 210ms | 0ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2350ms | 22ms | 5.6MB | 2337ms | 0ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 199ms | 1.9ms | 5.6MB | 190ms | 0ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.swift | 135ms | 5.7ms | 24.6MB | 367ms | 7ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.swift | 35ms | 0.4ms | 18.3MB | 33ms | 0ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2.4ms | 0.2ms | 6.0MB | 0ms | 0ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 1324ms | 22ms | 74.6MB | 4820ms | 30ms | swift 6.0.3 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 250ms | 3.1ms | 63.8MB | 653ms | 30ms | swift 6.0.3 |