• 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: An extremely weird slowness...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An extremely weird slowness...


  • Subject: Re: An extremely weird slowness...
  • From: j o a r <email@hidden>
  • Date: Mon, 21 Nov 2005 14:39:28 +0100


On 21 nov 2005, at 12.21, Ondra Cada wrote:

WTH?!? How comes that a plain ole return takes nearly a second? Had it been a message dispatch, well, I dunno, selector caches might go wild or whatever, but this I plain don't get :-O Far as I can say, the rest of the application works normally -- I haven't encountered anything like that elsewhere.

And you're sure that this is not simply an artefact from using NSLog statements (granted, it sounds a bit much even for that case)? Have you tried to look at this using Shark? It should be much more efficient then using either log statements, or assembly code inspection.


When I benchmark like this (not using Shark), I always collect time stamps (NSTimeInterval start = [NSDate timeIntervalSinceReferenceDate], et.c.) that I can evaluate *after* the code has run, and not while it's running.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >An extremely weird slowness... (From: Ondra Cada <email@hidden>)

  • Prev by Date: Custom NSOutlineView - Almost resolved
  • Next by Date: Re: How can i determine the mac pixel ratio?
  • Previous by thread: Re: An extremely weird slowness...
  • Next by thread: Saving 1-bit TIFF images
  • Index(es):
    • Date
    • Thread