mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Lowered the workload of string appending bechmarks a bit further, to get them under 1ms in `O` and 10ms in `Onone` builds. Fine tuned the legacy factor to match original `O` runtimes — the changes are non-linear because of complications from double loop and amortized array growth costs. These string appending benchmarks along with * ArrayPlusEqualFiveElementCollection and * ArrayPlusEqualSingleElementCollection are likely to show different performance in `Osize` and `Onone` builds because of the non-linearity of their original implementation.
11 KiB
11 KiB