Current benchmark data was generated on Tue Jul 01 2025, 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 | 3027ms | 21ms | 53.8MB | 2990ms | 20ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 244ms | 5.4ms | 11.6MB | 230ms | 0ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2463ms | 3.1ms | 5.4MB | 2450ms | 0ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 213ms | 1.3ms | 5.9MB | 203ms | 0ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3-m.swift | 141ms | 1.1ms | 20.8MB | 400ms | 7ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
3.swift | 38ms | 0.4ms | 14.2MB | 30ms | 0ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
1.swift | 2.6ms | 0.1ms | 5.6MB | 0ms | 0ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 1599ms | 222ms | 78.6MB | 5027ms | 40ms | swift 6.1.2 |
code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|
2-m.swift | 260ms | 7.4ms | 59.8MB | 673ms | 30ms | swift 6.1.2 |