Re: Beachballing 2
Re: Beachballing 2
- Subject: Re: Beachballing 2
- From: Jens Alfke <email@hidden>
- Date: Tue, 04 Dec 2012 11:11:22 -0800
On Dec 4, 2012, at 10:58 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
> When an operation has finished, it sends a message to the app delegate. Every 20th time, the app delegate then does: self.aValue = ...some number ...
> @property (assign) NSUInteger aValue; // aValue is bound to some NSTextField.
>
> But when I comment this out there is no impact on speed at all.
My guess there’s probably some other indirect call to AppKit like this, where it goes through KVO or bindings and you’re not realizing it.
Use the ‘sample’ tool if you can’t get Instruments to work. Look at all the threads and see where they’re spending their time, especially the ones servicing your dispatch queue. Are they mostly doing work, or blocked on something, and if so what?
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden