Re: Stopwatch
Re: Stopwatch
- Subject: Re: Stopwatch
- From: j o a r <email@hidden>
- Date: Sun, 12 Jun 2005 15:04:10 -0700
You're in no way measuring the performance of the timer, you're most
likely measuring the performance of the logs... A bad benchmark is
worse than no benchmark...
j o a r
On 12 jun 2005, at 12.55, Eric Brunstad wrote:
Actually, the NSTimer was going so slowly that I used my wristwatch
to time it.
I put a NSLog() in the method the timer calls, and started my
wristwatch. Five minutes later, I counted the # of logged strings.
I know this is not an accurate way to see the speed of the NSTimer,
but I just wanted a general idea of its speed.
Of course, this is a very extreme situation. The NSTimer was
responsible for playing multiple movies, rendering complex
graphics, and more. It was supposed to give a real-time preview of
a rendered movie, but obviously it was too slow.
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