<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks! I guess this showed up as a result of the most recent LLVM sync then?<div class=""><br class=""></div><div class="">&nbsp;- Daniel</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Sep 24, 2016, at 11:17 PM, Mark Lacey &lt;<a href="mailto:mark.lacey@apple.com" class="">mark.lacey@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I just pulled this up under Instruments and found that 94% of the compile time for StringMangling.swift.o, which seems to be where all the time goes, is spent in performLLVM, so this doesn’t look like a type checker issue.<div class=""><br class=""></div><div class=""><div class="">Weight<span class="Apple-tab-span" style="white-space:pre">        </span>Self Weight<span class="Apple-tab-span" style="white-space:pre">                </span>Symbol Name</div><div class=""><font face="Menlo" class="">10.32 min &nbsp; 94.4%<span class="Apple-tab-span" style="white-space:pre">        </span>1.00 ms<span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">        </span> &nbsp; &nbsp; &nbsp; performLLVM(swift::IRGenOptions&amp;, swift::DiagnosticEngine&amp;, llvm::sys::SmartMutex&lt;false&gt;*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, swift::version::Version const&amp;, llvm::StringRef)</font></div><div class=""><br class=""></div><div class="">I attached a screen shot from Instruments to the bug.</div><div class=""><br class=""></div><div class="">Mark</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On Sep 24, 2016, at 9:25 PM, Daniel Dunbar &lt;<a href="mailto:daniel_dunbar@apple.com" class="">daniel_dunbar@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm assuming its the type checker based on how it manifests (and we haven't changed anything interesting in the module that is slow to build), but I haven't looked at any samples.<div class=""><br class=""></div><div class="">&nbsp;- Daniel</div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 24, 2016, at 9:23 PM, Ted Kremenek &lt;<a href="mailto:kremenek@apple.com" class="">kremenek@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Does this look related to the type checker (I saw Mark’s comments in the SR) or something else?</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 24, 2016, at 3:23 PM, Daniel Dunbar via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Swift TOT is currently taking a very long time (and upwards of 8GB) to build SwiftPM. I filed:<br class=""> &nbsp;<a href="https://bugs.swift.org/browse/SR-2754" class="">https://bugs.swift.org/browse/SR-2754</a><br class="">can someone on the compiler take a look? This makes it hard to develop with TOT.<br class=""><br class=""> - Daniel<br class=""><br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-dev" class="">https://lists.swift.org/mailman/listinfo/swift-dev</a><br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>