• 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: ObjC in time-critical parts of the code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC in time-critical parts of the code


  • Subject: Re: ObjC in time-critical parts of the code
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Fri, 16 Jan 2009 09:33:43 +0100


Le 16 janv. 09 à 09:27, Jens Bauer a écrit :

Hi Greg,

On Jan 16, 2009, at 08:39, Greg Titus wrote:

The point of what people are trying to tell you is that the result you are getting (3ms per empty Objective-C call) is approximately 500,000 times longer than the time you ought to be getting (5-6ns). If an Objective-C message send took 3 milliseconds (333 method calls per second!), no useful software could ever have been written in the language.

Just a comment.. It's not every invocation of the empty method that takes 3ms, it's just happening often.
What I'm concerned about, is the peak values, that makes chops in my rendering. I thought it was the fault of my rendering code, and it did take me some time to figure out that it wasn't *inside* my rendering, but *outside* it, that the time was spent.


From your guess at the end of your post, ("message dispatcher servicing") it is pretty clear that you don't really know what is going on.

:) I don't think any of us (except from Apple) knows what's exactly going on in there. ;)

The objc runtime is open sourced.


_______________________________________________

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: 
 >Re: Filtering NSPopUpButtonCell when clicking on it (From: Keary Suska <email@hidden>)
 >Fwd: Filtering NSPopUpButtonCell when clicking on it (From: Kubernan <email@hidden>)
 >ObjC in time-critical parts of the code (From: Jens Bauer <email@hidden>)
 >Re: ObjC in time-critical parts of the code (From: Chris Hanson <email@hidden>)
 >Re: ObjC in time-critical parts of the code (From: Jens Bauer <email@hidden>)
 >Re: ObjC in time-critical parts of the code (From: Greg Titus <email@hidden>)
 >Re: ObjC in time-critical parts of the code (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: ObjC in time-critical parts of the code
  • Next by Date: Protocol + Delegate = conflict types
  • Previous by thread: Re: ObjC in time-critical parts of the code
  • Next by thread: Re: ObjC in time-critical parts of the code
  • Index(es):
    • Date
    • Thread