[webkit-dev] feedback and interest regarding requestIdleCallback API ?
kenjibaheux at chromium.org
Thu Sep 10 00:40:55 PDT 2015
I'm reaching out to hear your feedback and interest for the
requestIdleCallback API , .
Since the Blink intent to implement, we've been observing a high level of
interest from the developer community (see comments on Paul Lewis's article
, and reactions on twitter). We would be curious to know if you have
any concerns or suggestions for us to consider before moving further. Also,
getting a sense of your interest in this API would be really useful.
Thanks in advance!
Note: Chrome 46 has a working implementation behind the experimental web
platform features flag.
: Background (from Paul's article)
often needs to be run as soon as possible, but at the same time you don’t
want it to get in the user’s way. If you send analytics data when the user
is scrolling the page, or you append elements to the DOM while they happen
to be tapping on the button, your web app can become unresponsive,
resulting in a poor user experience.
The good news is that there’s now an API that can help:
requestIdleCallback. In the same way that adopting requestAnimationFrame
allowed us to schedule animations properly and maximize our chances of
hitting 60fps, requestIdleCallback will schedule work when there is free
time at the end of a frame, or when the user is inactive."
 https://w3c.github.io/requestidlecallback/ (a FPWD is in the queue)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev