Open Bug 710359 Opened 8 years ago Updated 3 years ago
Implement benchmark to measure jank caused by background tabs
This is not a specific complaint about GMail or any other site :-) I'm filing this bug to have something to link to in https://wiki.mozilla.org/Platform/AreWeFunYet . The problem I'm discussing here is that playing a game or generally an animation is a lot less smooth if there is another JS-intensive page open in another tab. This really sucks and undermines in particular our gaming story. This should have been solved by electrolysis, except it's currently on hold. Steps to reproduce: 1) Open http://webglsamples.googlecode.com/hg/aquarium/aquarium.html 2) wait a bit until it's fully loaded. Note the FPS count and how stable it is (e.g. here I get 30 FPS, quite stable) 3) Open GMail in a new tab, go back to the aquarium tab 4) wait a bit until GMail is fully loaded. Note the FPS count and how (un)stable it is now (here it's oscillating, sometimes 30 FPS, sometimes more like 20 FPS). We want Firefox to become a serious platform for games. But, gamers will also want to keep their GMail pinned tabs on the side. So, big deal.
Component: Canvas: WebGL → General
QA Contact: canvas.webgl → general
What happens if you try one of the incremental GC builds from the larch project branch?
I've tried the Larch builds and indeed the animations do feel smoother there. Maybe what we need to most at this point is a benchmark.
(In reply to Benoit Jacob [:bjacob] from comment #3) > I've tried the Larch builds and indeed the animations do feel smoother > there. Maybe what we need to most at this point is a benchmark. I agree.
Summary: Animations/games lose smoothness just from having GMail open in another tab → Implement benchmark to measure jank caused by background tabs
Whiteboard: [Snappy:P2][games:p2] → [Snappy:P2][games:p?]
You need to log in before you can comment on or make changes to this bug.