You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a hair brained idea... and just a knee jerk issue post... But I wonder how requestAnimationFrame compares to setTimeout with the task you are performing?
@chrisjacob Thanks for the tip. We'll run some tests and see which performs better. Since most retina devices will be running a WebKit browser, we can probably get away with using an experimental feature.
Hi Guys,
This might be a hair brained idea... and just a knee jerk issue post... But I wonder how requestAnimationFrame compares to setTimeout with the task you are performing?
Disclaimer: I don't know too much on the subject.
Alex MacCaw
@maccman
"I'm deferring any async rendering needed to requestAnimationFrame - it's so much faster. https://developer.mozilla.org/en/DOM/window.requestAnimationFrame"
Source: https://twitter.com/#!/maccman/status/190244937793671168
Also the pollyfill: "requestAnimationFrame for smart animating"
http://paulirish.com/2011/requestanimationframe-for-smart-animating/
The text was updated successfully, but these errors were encountered: