Last active
October 7, 2016 14:17
-
-
Save wongzigii/99d6a6c5686e76ad588a0f985ea3f8d8 to your computer and use it in GitHub Desktop.
Profiling your Swift compilation times
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Steal from http://irace.me/swift-profiling | |
xcodebuild -workspace App.xcworkspace -scheme App clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment