• 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: NSOperation Efficiency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperation Efficiency


  • Subject: Re: NSOperation Efficiency
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 05 Dec 2012 07:42:07 -0800

On Dec 5, 2012, at 2:05 AM, Mike Abdullah <email@hidden> wrote:

>
> On 5 Dec 2012, at 04:41, Kyle Sluder <email@hidden> wrote:
>
>> NSOperationQueue uses KVO for dependency tracking and queue width
>> management. In 10.7, the implementation was apparently changed to thunk
>> all KVO ops onto the main thread; I'm guessing this fixed a bug by
>> serializing all state changes. It also slowed down enqueueing
>> operations onto our NSOperationQueue from a background thread by a
>> factor of ten or more. I have samples to prove it.
>
> Wow, that's a big change! Are there are docs to back it up, or is this purely empirical?
>

Not that I've seen. The only evidence I have is a pile of samples.

--Kyle Sluder
_______________________________________________

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

References: 
 >NSOperation Efficiency (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSOperation Efficiency (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation Efficiency (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSOperation Efficiency (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation Efficiency (From: Jens Alfke <email@hidden>)
 >Re: NSOperation Efficiency (From: Kyle Sluder <email@hidden>)
 >Re: NSOperation Efficiency (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: NSOperation Efficiency
  • Next by Date: Cocoaheads Lake Forest meets tonight
  • Previous by thread: Re: NSOperation Efficiency
  • Next by thread: Re: NSOperation Efficiency
  • Index(es):
    • Date
    • Thread