Make removing normal flow child frames in block frames faster (DoRemoveFrame)
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: jfkthame)
References
(Blocks 3 open bugs)
Details
(Keywords: perf)
Attachments
(4 files)
14.33 KB,
patch
|
Details | Diff | Splinter Review | |
5.17 KB,
patch
|
Details | Diff | Splinter Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
Comment 5•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last months and this bug has severity 'major'.
:jfkthame, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 6•2 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Assignee | ||
Comment 7•3 months ago
|
||
This is basically Mats' line-cursor patch from 2012, updated to account for changes
in nsBlockFrame that have happened since then.
The example in https://bugzilla.mozilla.org/show_bug.cgi?id=1911451, for instance,
benefits hugely from this. Profile of resizing the textarea in the example there,
after pasting in the huge JS source:
Current mozilla-central: https://share.firefox.dev/3M6gUui
(truncated because I got tired of waiting for the reflow to finish)
With this patch applied: https://share.firefox.dev/46RMmpy
It's still janky, but only takes a second or so to reflow at each step.
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 8•3 months ago
|
||
In my local build, this reports timings of around 800ms using current mozilla-central,
and drops to around 80ms with the patch applied.
Comment 10•3 months ago
|
||
Assignee | ||
Comment 11•3 months ago
|
||
(In reply to Mayank Bansal from comment #9)
The patches seems to massively improve bug 1405989
That makes sense given what the profile there showed; thanks for testing & confirming that. I think we can resolve it as a dupe of this.
Comment 13•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2fdfc56a4640
https://hg.mozilla.org/mozilla-central/rev/95661209edef
Description
•