Skip to content

Instantly share code, notes, and snippets.

@webfrogs
Created March 30, 2017 02:55
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save webfrogs/ca3dc609d7a6212389ae0d91b7cb06da to your computer and use it in GitHub Desktop.
Save webfrogs/ca3dc609d7a6212389ae0d91b7cb06da to your computer and use it in GitHub Desktop.
Output swift function information whose compile time is large than 100ms
xcodebuild -workspace XXX.xcworkspace -scheme XXX clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep '^\d\{3,\}[.]\{1\}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment