• 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: Compile slow-down after moving to XCode 2.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile slow-down after moving to XCode 2.4


  • Subject: Re: Compile slow-down after moving to XCode 2.4
  • From: Wain <email@hidden>
  • Date: Wed, 13 Sep 2006 22:10:21 +0100

On 13 Sep 2006, at 22:00, Chris Espinosa wrote:

On Sep 13, 2006, at 11:08 AM, Wain wrote:

I have recently moved from XCode 2.3 to 2.4, I run it on a dual 1.8GHz G5, so I have 2 processors...

Compiling is much slower (maybe twice as long to compile) in XCode 2.4 as 2.3, I think it is now only using a single thread to perform the compilation.

From the 2.4 release notes:

'Xcode now uses the number of active CPUs instead of the number of physically available CPUs when determining the number of parallel build processes to run.'

Not really sure how to take that, what is an 'active' CPU exactly?? The options to change this kind of stuff have been removed from the prefs in 2.4 aswell.

So, is there some hidden setting/pref I can change to get back to compiling with 2 threads?


No, that change is simply to reenable our looking at the hidden setting/pref that you can use to shut it down to 1 processor when you have 2.  It's very unlikely that you've done this.

There are a lot of things that can contribute to longer build times when upgrading Xcode.  Check to see whether your project:

- is now building with dwarf symbols rather than stabs (slower but gives more accurate debugging in most cases)
using stabs (I didn't change it from the default when the proj was created but good info, thanks)
- is now building Universal instead of single architecture (takes twice as long, because, well, it's building twice)
building debug so only ppc at the moment
- (less likely) if you have 512K memory, swapping is increasing
hmmm, what type of memory do you mean? L2 Cache??
- (less likely) if you have <1Gb free disk space, swapping is slower because of tight disk space
loads of free disk space (>36Gb)
- all your precompiled headers have to be rebuilt because of the new compiler version
surely it would only need to be done once after upgrading?

If it's taking twice as long, I'd check to see whether you're building Universal now.

Chris

Thanks for the education,

Wain
 _______________________________________________
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: 
 >Compile slow-down after moving to XCode 2.4 (From: Wain <email@hidden>)
 >Re: Compile slow-down after moving to XCode 2.4 (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Compile slow-down after moving to XCode 2.4
  • Next by Date: Re: Exceptions thrown from framework not caught in application
  • Previous by thread: Re: Compile slow-down after moving to XCode 2.4
  • Next by thread: Porting PP to Xcode - PPob windows don't display
  • Index(es):
    • Date
    • Thread