Re: Build timing
Re: Build timing
- Subject: Re: Build timing
- From: Dave Keck <email@hidden>
- Date: Fri, 7 May 2010 01:32:20 -1000
> For anyone who had to deal with reducing build times, how did you measure your builds?
I guess it depends on how much testing we're talking, but I've been
pleased with the stopwatch on my phone. 8)
To automate it, I would create an empty target ("Test Build Time")
that simply runs a shell script that looks something like this:
http://pastie.org/949930
When you want to determine the active target's build time, right-click
the "Test Build Time" target, and click "Build 'Test Build Time'".
Once it's finished building, Xcode will display a dialog telling how
long it took. Of course you could extend the shell script to write the
build times to a file, etc.
Note that there are caveats to invoking xcodebuild from a shell script
build phase, especially when you're concerned with build times. See
this thread from a few days ago:
http://lists.apple.com/archives/xcode-users/2010/May/msg00008.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Build timing (From: Guillaume Billard <email@hidden>) |