• 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
Slow link times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow link times


  • Subject: Slow link times
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 12 Jan 2010 08:38:07 -0800

Right now I'm missing ZeroLink :(. On my 2008 MBP, I have a two-minute minimum turnaround time for building Chromium — i.e. if I open chrome.xcodeproj with the "chrome" target, build, then touch one source file and build again, that rebuild takes two minutes. Ouch. Compiling the changed file takes only a second; the great majority of the time is spent linking (with "checking dependencies" a close second.)

This is almost entirely I/O bound. The CPU load is near zero. The same build process on my Mac Pro at work, which has a faster hard disk, takes less than half as long.

I know, this is a very large C++ project, so linking is always going to be a chore. Does anyone have tips on how to optimize link times? Does it help to link subcomponents into static libraries and then link those together? (Actually I think Chrome is doing some of that already.)

—Jens

PS: Xcode 3.2.1 on OS 10.6.2.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Slow link times
      • From: Chris Hanson <email@hidden>
    • Re: Slow link times
      • From: email@hidden (Stefan Haller)
    • Re: Slow link times
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: Bug in /Developer/Makefiles/CoreOS/ReleaseControl/GNUSource.make using parallel jobs
  • Next by Date: Re: Slow link times
  • Previous by thread: Re: Bug in /Developer/Makefiles/CoreOS/ReleaseControl/GNUSource.make using parallel jobs
  • Next by thread: Re: Slow link times
  • Index(es):
    • Date
    • Thread