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
@@ -21,6 +21,18 @@ Swift is constantly improving ❤️. For the time being, though, long compile t
21
21
-[Enable concurrent Swift build tasks](#enable-concurrent-swift-build-tasks)
22
22
-[Showing build times in Xcode](#showing-build-times-in-xcode)
23
23
24
+
# Incremental Compilation Mode with No Optimization
25
+
26
+
Until Xcode 10, it was common to enable [Whole Module Optimization](https://github.com/fastred/Optimizing-Swift-Build-Times/blob/ce6da1f3a47220259c3924df62f44f06bc45e222/README.md#whole-module-optimization) to speed up Debug builds. It was a workaround that's no longer needed in Xcode 10!
27
+
28
+
Currently, the recommended setup is to have `Incremental``Compilation Mode` set for Debug builds and `Whole Module` for Release builds. Also, `No Optimization` should be chosen for `Optimization Level` of Debug builds.
-[What's New in Swift – WWDC 2018](https://developer.apple.com/videos/play/wwdc2018/401/?time=657)
35
+
24
36
# Type checking of functions and expressions
25
37
26
38
Swift build times are slow mostly because of expensive type checking. By default Xcode doesn't show code that's slow to compile. You can instruct it to show slowly compiling functions and expressions, though by adding:
@@ -110,18 +122,6 @@ Recommended setup:
110
122
111
123
-[Speeding up Development Build Times With Conditional dSYM Generation](http://holko.pl/2016/10/18/dsym-debug/)
112
124
113
-
# Incremental Compilation Mode with No Optimization
114
-
115
-
Until Xcode 10, it was common to enable [Whole Module Optimization](https://github.com/fastred/Optimizing-Swift-Build-Times/blob/ce6da1f3a47220259c3924df62f44f06bc45e222/README.md#whole-module-optimization) to speed up Debug builds. It was a workaround that's no longer needed in Xcode 10!
116
-
117
-
Currently, the recommended setup is to have `Incremental``Compilation Mode` set for Debug builds and `Whole Module` for Release builds. Also, `No Optimization` should be chosen for `Optimization Level` of Debug builds.
0 commit comments