Firefox unresponsive for several seconds when switching topics on news.google.com
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: linuxcbon, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
application/x-javascript
|
Details |
Comment 2•6 years ago
|
||
Reproduced. It does take 1-2 seconds to load, but when I open up the devtools and look at the Network tab, it's mostly because the page does a POST to news.google.com that takes 1-2 seconds to come back.
The news.google.com developers know that this is slow. You can tell because they built in an animation that plays while you wait.
I'm going to close this as WORKSFORME, because it... works for me, I guess... but if it is definitely more broken than I observed, feel free to reopen with more info.
I disagree with Jason Orendorff.
It is really slow in comparaison to google chrome for instance.
It happens when you change topic on the left side :
local news
science technology
sports etc etc
It's not the page in itself which is slow.
It's when you click on the left side to change topic, it's slow.
Comment 4•6 years ago
|
||
I'm at a loss. This behaves exactly the same for me in Chrome and Firefox (on a Mac). Everything in comment 2 already refers to what happens when you click on a new topic on the left side. If this works fine on Mac and is slow on Linux, it might be the animation itself causing the slowness—graphics maybe?
Linuxcbon, if you'd like to help us make progress here, these steps would really help:
-
install Firefox Nightly, and see if it's still slow
-
install the Firefox Profiler https://profiler.firefox.com/, capture a profile of the slow page, and share a link here.
It's surely because you are using a fast CPU, so you dont see the difference. I am using a dualcore athlon. But see https://bugzilla.mozilla.org/show_bug.cgi?id=1530355 , they have the same problem as me.
I will check the profiler, but give me some time.
Here is a profiler link , I hope this helps
https://perfht.ml/2YfuLUT
Comment 8•6 years ago
|
||
Thank you for the profile, linuxcbon.
Maybe I have an addon that blocked the problem scripts. I tried again in a clean Firefox profile and got a nice 7-second delay. Full GC cycle followed by an absurd reflow: https://perfht.ml/2WeOjaf
A user provided a profile in bug 1530355 too: http://bit.ly/2NsplkH
No obvious fix in any of these. Clearing priority to make sure this gets another look.
Comment 9•6 years ago
|
||
Another profile showing massive reflows. This happens more often than not, but once in a while it switches topics in a second or two. https://perfht.ml/2Wh6zQo
Comment 10•6 years ago
|
||
Matt, could you take a look at the profiles in https://perfht.ml/2WeOjaf and https://perfht.ml/2Wh6zQo ?
Comment 11•6 years ago
|
||
These massive reflows look to be within grid code.
Mats, do we have known issues with grid reflow, or is this site doing something awful?
Updated•6 years ago
|
Description
•