On 09/12/2009, at 7:35 AM, Greg Parker wrote:

> Which OS version is this? 10.6.2 fixed a performance problem with garbage 
> collection and large KVO populations. If you still have trouble in 10.6.2+ 
> then you should file a bug report.


There are still massive remaining performance issues with 
NSTreeController/NSArrayController in 10.6 if you have a large number of active 
bindings. 

Please see my bug report rdar://7139579 which includes a simple sample project. 
The performance on Snow Leopard is orders of magnitude slower than in 10.5.

All of the problems seem to relate to the private class NSConcretePointerArray 
and something that it's doing with weak references. That seems to be involved 
in Benjamin's case and it is definitely the problem in our case based on Shark 
traces. 

Specifically, the routines auto_read_weak_reference(), readWeakAt() and 
objc_read_weak() that appear to be involved in the the -compact method of 
NSConcretePointerArray are taking up an inordinate amount of CPU time.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to