Devirtualize nsIFrame::IsFrameOfType()
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: emilio)
References
(Blocks 2 open bugs)
Details
(Keywords: perf, Whiteboard: [sp3])
Attachments
(1 file)
Comment 1•8 years ago
|
||
Comment 2•6 years ago
|
||
Comment 3•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
Assignee | ||
Comment 4•1 year ago
|
||
This is probably worth doing, and other engines seem to report wins in speedometer while doing the equivalent work.
Assignee | ||
Comment 5•1 year ago
|
||
I still need to do some debugging for some orange, but preliminary results seem positive. https://treeherder.mozilla.org/perfherder/comparesubtest?originalProject=try&newProject=try&newRevision=b3295bdae3baea3902c80443a9904019c8e7e630&originalSignature=4569403&newSignature=4569403&framework=13&application=firefox&originalRevision=0052c4c8d9789acd5dddbafbeb2596ecd78b8b33&page=1
Assignee | ||
Comment 6•1 year ago
|
||
Extend the per-frame-class bit we have to devirtualize IsLeaf to also
devirtualize IsFrameOfType.
This was done by going through all the frame classes, trying to preserve
behavior.
The only quirky thing is that I had to add two more trivial frame
classes, nsAudioFrame
for audio elements, and
nsFloatingFirstLetterFrame
. That's because these frame classes were
returning different answers at runtime, but they do this only on
conditions that trigger frame reconstruction (floating, and being an
audio element, respectively).
Updated•1 year ago
|
Updated•1 year ago
|
![]() |
||
Comment 7•1 year ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)
This is probably worth doing, and other engines seem to report wins in speedometer while doing the equivalent work.
Thanks for doing this. Fingers crossed!
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
Description
•