Open
Bug 1521955
Opened 6 years ago
Updated 2 years ago
ContentSink should interrupt DOM creation if there is pending vsync
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
863 bytes,
patch
|
Details | Diff | Splinter Review | |
3.48 KB,
patch
|
Details | Diff | Splinter Review | |
2.78 KB,
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•6 years ago
|
||
Assignee: nobody → bugs
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 9039526 [details] [diff] [review]
contentsink_interrupt_3.diff
This is not too beautiful. I think we should simplify when to interrupt contentsink, but this is a minimal patch to
evaluate this approach.
Attachment #9039526 -
Flags: review?(hsivonen)
Comment 5•6 years ago
|
||
Comment on attachment 9039526 [details] [diff] [review]
contentsink_interrupt_3.diff
Review of attachment 9039526 [details] [diff] [review]:
-----------------------------------------------------------------
I'm a bit worried about doing all the pointer chasing that HighPriorityEventPendingForTopLevelDocumentBeforeContentfulPaint() does on each tree op, but I trust that you've measured that it's better with this patch than without.
Attachment #9039526 -
Flags: review?(hsivonen) → review+
Assignee | ||
Comment 6•6 years ago
|
||
I have profiled, and it basically doesn't show up at all. And this case is dealing with after-processing-script-element, which is always slow anyhow.
Comment 7•6 years ago
|
||
(In reply to Olli Pettay [:smaug] (massive needinfo queue, ping on IRC on anything urgent) from comment #6)
And this case is dealing with after-processing-script-element, which is always slow anyhow.
Oh, right. My worry about "each tree op" is indeed wrong. Thanks.
Assignee | ||
Updated•6 years ago
|
Blocks: smaug-pageload
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•