• 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: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?


  • Subject: Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
  • From: Frank Illenberger <email@hidden>
  • Date: Thu, 01 Jul 2010 08:46:38 +0200

I digged a bit deeper and found out that the GC activity comes only long after the following hot spot:

5054.0ms   41.0%	 	-[PBXProjectIndexBTree(PBXProjectIndexBTreeEnumeration) valueForKey:at:]
2597.0ms   21.0%	 	  -[PBXProjectIndexBTree deleteValue:forKey:]
2597.0ms   21.0%	 	    -[PBXProjectIndex(PBXIndexingEngineCallbacks) _deleteFileAtLocation:]
2597.0ms   21.0%	 	      -[PBXProjectIndex(PBXIndexingEngineCallbacks) _finishIndexingFile:]
2597.0ms   21.0%	 	        -[PBXProjectIndex(PBXIndexingEngineCallbacks) _endSourceFile:]
2597.0ms   21.0%	 	          -[PBXProjectIndex(PBXIndexingEngineCallbacks) endSourceFile]
2597.0ms   21.0%	 	            -[PBXDevKitIndexingEngine indexFileAtAbsolutePath:withSettings:]
2597.0ms   22.7%	 	              -[PBXProjectIndex _indexBackground:]
2597.0ms   22.7%	 	                -[NSInvocation invoke]
2597.0ms   22.7%	 	                  -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:]

Meanwhile the main thread is idling:
193.0ms   21.9%	 	-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]

I filed it as a bug under rdar://8150096

It seems as if the project index causes the load. Might there be a workaround for me to make Xcode faster again. Maybe flushing the index or so?

Cheers

Frank

Am 01.07.2010 um 04:06 schrieb Joar Wingfors:

>
> On 30 jun 2010, at 15.22, Frank Illenberger wrote:
>
>> with the current Mac application project I am working on, Xcode 3.2.3 has become unbearably slow. When I type some characters in the source code editor, the app gets slower and slower and after 10 characters or it gets totally unresponsive for about 4 seconds. I checked the activity of Xcode with Instruments' time profiler and found the following hot spots:
>
>
> I would be more interested in the activity on the main thread at this time. Don't report this here though, please file a formal bug report and we'll take a look:
>
> 	<http://developer.apple.com/bugreporter/>
>
> j o a r
>
>

 _______________________________________________
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: 
 >Xcode 3.2.3 is unbearably slow - garbage collection responsible? (From: Frank Illenberger <email@hidden>)
 >Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible? (From: Joar Wingfors <email@hidden>)

  • Prev by Date: DIE 0x000023f4 has multiple AT_byte_size attributes error message
  • Previous by thread: Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
  • Next by thread: DIE 0x000023f4 has multiple AT_byte_size attributes error message
  • Index(es):
    • Date
    • Thread