Skip to content

Instantly share code, notes, and snippets.

@diederich
Created March 31, 2018 16:22
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 diederich/bb55910311ac432ddbcb2c212d8ec4d6 to your computer and use it in GitHub Desktop.
Save diederich/bb55910311ac432ddbcb2c212d8ec4d6 to your computer and use it in GitHub Desktop.
xcodebuild times - wholemodule/single-file clean and incremental builds
Clean builds
xcodebuild -project ext/CCUtils/CCUtils.xcodeproj -scheme CCUtils clean&& time xcodebuild -project ext/CCUtils/CCUtils.xcodeproj -scheme CCUtils build
real 0m17.229s
user 0m38.904s
sys 0m18.557s
real 0m10.724s
user 0m33.358s
sys 0m15.666s
real 0m10.089s
user 0m32.012s
sys 0m15.201s
real 0m11.255s
user 0m33.390s
sys 0m15.729s
real 0m11.527s
user 0m32.459s
sys 0m16.571s
———
WHOLEMODULE
real 0m9.511s
user 0m22.681s
sys 0m11.963s
real 0m7.517s
user 0m19.189s
sys 0m10.292s
real 0m8.616s
user 0m21.445s
sys 0m11.471s
real 0m7.787s
user 0m20.551s
sys 0m10.991s
real 0m7.784s
user 0m19.722s
sys 0m10.373s
————
Incremental build, single file touched only
Single File
18:07 $ touch ./ext/CCUtils/CCUtils/OperationGroup.swift && time xcodebuild -project ext/CCUtils/CCUtils.xcodeproj -scheme CCUtils build
real 0m2.001s
user 0m2.580s
sys 0m0.686s
real 0m2.018s
user 0m2.581s
sys 0m0.681s
real 0m1.974s
user 0m2.579s
sys 0m0.691s
WholeModule
real 0m3.011s
user 0m5.739s
sys 0m0.856s
real 0m2.765s
user 0m5.388s
sys 0m0.771s
real 0m3.124s
user 0m5.926s
sys 0m0.868s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment