Chrome refreshes news sites ~2x faster than Firefox
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: bas.schouten, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Refreshes feel like a fairly common thing to do on news websites. For some reason on my machine Chrome refreshes cnn.com (which is particularly slow) almost 2x faster than Firefox. Here are profiles, with times between hitting refresh and things 'mostly' being rendered:
Firefox (~3s): https://share.firefox.dev/2Lo1dT2
Chrome (~1.5s): https://share.firefox.dev/3rUQf8l
On FoxNews
Firefox (~1s): https://share.firefox.dev/2KWyHIC
Chrome (~0.6s): https://share.firefox.dev/396wYbo
Possibly I'm missing something but this feels like poorer responsiveness to be subjectively.
Reporter | ||
Comment 1•4 years ago
|
||
It was brought to my attention this may be related to bug 1468476, although I'm not certain, but this bug has been lingering for 2 years as well.
Reporter | ||
Comment 2•4 years ago
|
||
We seem to be spending roughly 50% of our time compiling/parsing things which feel to me like they probably didn't change with the refresh, any idea why the bytecode cache isn't kicking in here?
Comment 3•4 years ago
|
||
For bytecode cache to kick in now, we must successfully load (js text) from Necko at least 4 times, then the page must hit idle, then we must flush back to necko successfully.
Bug 1670403 is the work to use Stencil to remove these restrictions. The bytecode format will no longer require extra translation overhead, and we'll be able to decouple bytecode cache read/write from the actual DOM Document.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 months ago
|
Updated•2 months ago
|
Description
•