Re: An extremely weird slowness...
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