Last active
January 9, 2017 07:26
-
-
Save haemi/00d32204a07a42377bd322817884a12d to your computer and use it in GitHub Desktop.
Profiling Swift compilation times
This file contains 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
#!/bin/bash | |
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