Xcode 6.1.1: Swift is soooooooo slow

Originator:owensd
Number:rdar://19658806 Date Originated:29-Jan-2015 08:07 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.1.1 (6A2008a)
Classification:Serious Bug Reproducible:Always
 
Summary:
Debug builds of Swift are nearly unusable. Seriously. Try building any type of responsive app that actually interacts with a bunch of Swift code, rather than just bridging into ObjC code, and you are plagued with terribly slow debug builds. Sure, the release builds are faster (though still 2x slower than the ObjC version), but it’s terribly annoying debugging release builds all the time.

A sample project is here: https://github.com/owensd/handmade-swift/tree/day005_badperf 

Steps to Reproduce:
In numbered format, detail the exact steps taken to produce the bug.

Expected Results:
Describe what you expected to happen when you executed the steps above.

Actual Results:
Explain what actually occurred when steps above were executed.

Regression:
Describe circumstances where the problem occurs or does not occur, such as software versions and/or hardware configurations.

Notes:
Provide additional information, such as references to related problems, workarounds and relevant attachments.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!