You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I noticed a regression with Xcode 10.2 and Swift 5 when compiling.
I was able to reproduce it with a small demo example that you can find attached.
With Xcode 10.1 + Swift 4.2 it compiles under 20 seconds
With Xcode 10.2 + Swift 5 it goes up to 4 minutes (+1200% of slowing down).
It looks like the compiler is spending most of the time on VerifierLegacyPass and visitGlobalValue (attached also a screenshot)
Any hint on why this is happening or any workarounds? Maybe related to rdar://47304789 ?
Thanks 🙂
The text was updated successfully, but these errors were encountered:
Yes, indeed it works with @rjmccall toolchain, thanks to all of you. @belkadan no need to be sorry, I am very happy about the work that you people are doing in order to make Swift better, things like this can happen 🙂
I do have an extra question, do you know if this will go into Swift 5.1 or a minor? Meaning: should I use the specific toolchain for my development or I could have other issues in case this toolchain have other changes?
John pulled the fix into the 5.0 branch, so if there is a 5.0.x this will probably be in it. But that's up to the release managers (and to Apple for Xcode).
Attachment: Download
Additional Detail from JIRA
md5: 680354d90f7a6aa33af9edacf3e4a3c0
Issue Description:
Hi,
I noticed a regression with Xcode 10.2 and Swift 5 when compiling.
I was able to reproduce it with a small demo example that you can find attached.
With Xcode 10.1 + Swift 4.2 it compiles under 20 seconds
With Xcode 10.2 + Swift 5 it goes up to 4 minutes (+1200% of slowing down).
It looks like the compiler is spending most of the time on VerifierLegacyPass and visitGlobalValue (attached also a screenshot)
Any hint on why this is happening or any workarounds? Maybe related to rdar://47304789 ?
Thanks 🙂
The text was updated successfully, but these errors were encountered: