[swift-users] Need help with compile times (type inference?)

Chris Lattner clattner at apple.com
Sun Jan 24 23:55:40 CST 2016


> On Jan 23, 2016, at 9:34 PM, David Turnbull via swift-users <swift-users at swift.org> wrote:
> 
> I've exhausted the method described in that Irace post. He seemed happy with a 60% improvement. I'm seeing build times 10000% slower than C++. Like 5 minutes vs 3 seconds.

Are you willing/able to share the code for your project?  That definitely sounds strange,

-Chris

> 
> -david
> 
> On Sat, Jan 23, 2016 at 4:03 PM, Joe Groff <jgroff at apple.com <mailto:jgroff at apple.com>> wrote:
> 
> > On Jan 23, 2016, at 3:56 PM, David Turnbull via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
> >
> > I get the impression that there's no immediate solution. Will Swift 3.0 improve build times?
> 
> We hope so. Joe Pamer just landed some improvements into the master branch that should improve a lot of common cases, and I believe more improvements are on the way. In the meantime, Bryan Irace recently wrote an article that might help, about using some of the compiler's internal debugging flags to find and improve problem points: http://irace.me/swift-profiling/ <http://irace.me/swift-profiling/>
> 
> -Joe
> 
> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160124/bdde57fc/attachment.html>


More information about the swift-users mailing list