Current benchmark data was generated on Thu Feb 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.)
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2063ms | 7.6ms | 56.6MB | 2023ms | 23ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 195ms | 3.0ms | 14.5MB | 180ms | 0ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2453ms | 7.0ms | 8.5MB | 2443ms | 0ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 212ms | 1.3ms | 8.4MB | 200ms | 0ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.swift | 209ms | 1.1ms | 28.8MB | 520ms | 7ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.swift | 45ms | 0.5ms | 18.4MB | 43ms | 0ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 3.0ms | 0.2ms | 7.6MB | 0ms | 0ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 1458ms | 77ms | 72.0MB | 5233ms | 37ms | swift 5.9.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 262ms | 1.4ms | 63.5MB | 697ms | 20ms | swift 5.9.2 |