[SR-9185] Performance regression with Swift 4.2 #51676
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
performance
regression
swift 4.2
Attachment: Download
Environment
Everything was done on macOS 10.13.6 with Swift 4.2 from Xcode 10.1 (so it is actually 4.2.1) and Swift 4.1.3 from toolchain downloaded from swift.org website.
Additional Detail from JIRA
md5: d3dff7116265809804a3ad7763bb0575
Issue Description:
After upgrading to Swift 4.2 my projects became almost two times slower when compiled with Swift 4.2 compared to when compiled with Swift 4.1.3.
Here's sample code from my library:
Here are the results that I am getting:
I've also made a couple of screenshots in Instruments (see attachments).
The text was updated successfully, but these errors were encountered: