• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Build timing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Build timing
  • Next by Date: Doxygen & QuickHelp
  • Previous by thread: Build timing
  • Next by thread: Re: Build timing
  • Index(es):
    • Date
    • Thread