Skip to content

Instantly share code, notes, and snippets.

@wongzigii
Last active August 14, 2017 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wongzigii/08dbae12138cdf4c604c7f9246597cc2 to your computer and use it in GitHub Desktop.
Save wongzigii/08dbae12138cdf4c604c7f9246597cc2 to your computer and use it in GitHub Desktop.
Choose ”Copy transcripts for shown results”, then in Terminal run this script and you will get the 10th longest compile time.
pbpaste | egrep '\.[0-9]+ms' | sort -t "." -k 1 -n | tail -10
@wongzigii
Copy link
Author

Need to add a Swift compiler flag to calculate time.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment