Timer in drawing loop performance problems
Timer in drawing loop performance problems
- Subject: Timer in drawing loop performance problems
- From: Shayne Wissler <email@hidden>
- Date: Fri, 14 Aug 2009 21:21:32 -0600
Hello,
Following the advice at
http://developer.apple.com/qa/qa2004/qa1385.html, I attempted using a
timer running at 1000Hz. However, on my iMac, this causes about a ~15%
CPU hit. When I run Shark, it says it's spending a good deal of time
in objc_msgSend, presumably in the call "[self setNeedsDisplay:YES]".
Is all this normal/expected?
Shayne Wissler
_______________________________________________
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