Re: requestAnimationFrame rate for background tabs and offscreen instances

Jet Villegas <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout
Message-ID <CA+3pDCJ_+F91he-scW_HUevGTKXA3snueOBaXVGaJjvnycnYyA@mail.gmail.com>
Thanks, Seth. Please file a bug for us to capture the details of a plan
here.

--Jet

On Mon, Aug 31, 2015 at 11:21 AM, Seth Fowler <[email protected]> wrote:

> We do eventually throttle rAF to zero for background tabs, IIRC (there’s
> an exponential decay phase first). IIRC, we mainly didn’t do it for
> offscreen iframes in foreground tabs because of concerns that there could
> be interaction between different iframes, so throttling an offscreen iframe
> totally off could also end up disabling a visible iframe. Till might
> remember more specifics.
>
> I’d like to go to zero as well if we think we can get away with it. If
> Blink is *committed* to doing it too, then we probably can.
>
> - Seth
>
> > On Aug 31, 2015, at 11:08 AM, Jet Villegas <[email protected]>
> wrote:
> >
> > I met with some Chromium engineers over dinner last week and talked
> about how Blink throttles rAF on background tabs to zero FPS, and that
> they're also working on setting off-screen iframes to zero FPS. I believe
> we currently throttle to 1 FPS for off-screen and background tabs.
> >
> > Should we go to zero as well?
> >
> > --Jet
>
>
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.