Investigate script execution order and also possibly yield if there is pending vsync.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
Performance Impact | high |
People
(Reporter: smaug, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Keywords: perf:pageload)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Just a simple idea I had for this. No idea how it behaves (but locally it seems to kick in quite often when loading espn.com).
tests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=53b9b014d5f61a35ed2c07ff6a5a90f1c0e45927
raptor: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7c36a19b59f8ca4a289eeb3ca213ca3c790a9da6
Reporter | ||
Comment 7•6 years ago
|
||
oh, that is massively orange on try :/
Testing a variant then.
Reporter | ||
Comment 8•6 years ago
|
||
More correct but also way less effective, I guess.
tests: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7ae468b946f627707e67d9a260e21288836a4e84
raptor: https://treeherder.mozilla.org/#/jobs?repo=try&revision=94f6a27102a3ee51a672264b4ca3c3bf0ad63d12
Assignee | ||
Updated•6 years ago
|
Reporter | ||
Comment 9•4 years ago
|
||
bas, you had some tests showing the issues around script execution and painting.
Comment 10•3 years ago
|
||
https://faraday.basschouten.com/mozilla/executionorder/allinlinedual.html still shows a considerably difference between Fx and Chrome :).
Comment 11•3 years ago
|
||
Hi Olli, this feels kind of stalled. Do we have any idea how to move forward here?
Reporter | ||
Comment 12•3 years ago
|
||
I guess this is more something that the performance team may take a look at.
Comment 13•3 years ago
|
||
Fixing this is at least partially dependent on network requests being able to be started while the main thread is blocked.
See: https://docs.google.com/document/d/10CWyblMi1ZKDNnf1AOYficzfiKdZuL1erqSpG58gCpk/edit#
After that we can see if more work is needed to ensure paints are done when possible.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #13)
Fixing this is at least partially dependent on network requests being able to be started while the main thread is blocked.
See: https://docs.google.com/document/d/10CWyblMi1ZKDNnf1AOYficzfiKdZuL1erqSpG58gCpk/edit#
After that we can see if more work is needed to ensure paints are done when possible.
Setting dependency according to this comment.
Comment 15•2 years ago
|
||
We believe this is partially fixed, and Chrome's behavior has also changed to be more like ours. Closing for now.
Description
•