Re:Firefox 60 released
by spiderfarmer on Friday May 11, 2018 @03:11AM
(#17045488)
The problem is not with that page. A simple CSS animation without JS triggers the same issues.
Re:Firefox 60 released
by jamienicol on Monday May 14, 2018 @11:14AM
(#17066199)
Sorry I don't check hackernews for replies frequently.
That bug refers to high cpu load on that page. On that page it is due to the animation being driven from javascript.
If a simple CSS animation causes high cpu usage please file a separate bug with an attached test case.
If it is a JS vs CSS issue, why does it only slow things down on macOS?
Re:Firefox 60 released
by jamienicol on Monday May 14, 2018 @11:11AM
(#17066186)
The site in question on that bug is CPU heavy on all platforms
The discussion is all specific to that page. The biggest issue is that the animations are being driven from Javascript instead of CSS, so there's little we can do to optimize it.
The rest of the discussion is possible heuristics we can implement to optimize how we layerize the page. It would potentially help on this page, but might make things slower elsewhere.