Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
- Subject: Re: Xcode 3.2.3 is unbearably slow - garbage collection responsible?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 1 Jul 2010 09:43:12 +0200
FWIW, you can rebuild the index by opening project properties (double clic on the project in the tree) and clic the "Rebuild Index" button in the General tab.
Le 1 juil. 2010 à 08:46, Frank Illenberger a écrit :
> 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
-- Jean-Daniel
_______________________________________________
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