Turning off the garbage collector for Xcode 3.0
Turning off the garbage collector for Xcode 3.0
- Subject: Turning off the garbage collector for Xcode 3.0
- From: email@hidden
- Date: Sat, 02 Aug 2008 03:26:56 +0300
Hi all, We experience a serious performance drop when building a big project (contains about 500 C++ source files, 10 subprojects, and 10-12 targets) using Xcode. We used both Shark and the sample command line tool to analyze what's actually getting on, and it turned out Xcode wasted a quarter of CPU time doing some stupid work on a generation of snapshots even if nothing is being done and the project is just opened, other quarter of time was wasted by the garbage collector itself. The same happens when using xcodebuild to build our project. We have a big suspicion a generation of the mentioned snapshots gets fixed in Xcode in the nearest future, since the odds are Apple does not care about it and it does nothing in this direction, it makes things even worse (Mac Pro just sucks on Xcode 3.2) perhaps assuming serious projects (which contain lots of C++ source files) are not being built using Xcode, but it is suitable/applicable just for simple "Hello world!" applications. Th
us, we would like to ask you whether we able to TURN OFF the garbage collector and safe some processor resources for execution of Xcode's frond end which does the real work. At the early beginning when Xcode 3.0 was beta and shipped within Leopard seeds it was possible to turn off the garbage collector by creation of special files in /etc or so, just can't recall exactly, but it stopped working in one of seeds closer to the final one. Please help us, since we just can't stand watching how Xcode makes our Mac Pro machines behave like iMac G3. Thanks and sorry for being so pathetic. - Konstantin Korzun Senior Software Engineer KMS
_______________________________________________
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