• 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: Chris Espinosa <email@hidden>
  • Date: Wed, 13 Sep 2006 14:00:12 -0700


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.
The archives are full of 'slow' but I didn't find anything specific to 2.4.

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)
- is now building Universal instead of single architecture (takes twice as long, because, well, it's building twice)
- (less likely) if you have 512K memory, swapping is increasing
- (less likely) if you have <1Gb free disk space, swapping is slower because of tight disk space
- all your precompiled headers have to be rebuilt because of the new compiler version

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

Chris

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

  • Prev by Date: Re: XCode 2.4, mw_stdbool.h, mw_float.h
  • Next by Date: Re: Compile slow-down after moving to XCode 2.4
  • Previous by thread: Re: Compile slow-down after moving to XCode 2.4
  • Next by thread: Re: Compile slow-down after moving to XCode 2.4
  • Index(es):
    • Date
    • Thread