<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="">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 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> performLLVM(swift::IRGenOptions&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, swift::version::Version const&, 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><blockquote type="cite" class=""><div class="">On Sep 24, 2016, at 9:25 PM, Daniel Dunbar <<a href="mailto:daniel_dunbar@apple.com" class="">daniel_dunbar@apple.com</a>> 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=""> - 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 <<a href="mailto:kremenek@apple.com" class="">kremenek@apple.com</a>> 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 <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> 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=""> <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></body></html>