Closed
Bug 1832032
Opened 2 years ago
Closed 1 years ago
HTMLInputElement::IntrinsicState, which is rather slow, is called multiple times when parsing an element with several attributes
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1850161
People
(Reporter: smaug, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
UpdateState, which then calls IntrinsicState(), is called on any attribute change https://searchfox.org/mozilla-central/rev/373d05f4eabdb90a6480d5d36d983b8bff36c9d8/dom/base/Element.cpp#2661
and also when binding HTMLInputElement to tree
https://searchfox.org/mozilla-central/rev/373d05f4eabdb90a6480d5d36d983b8bff36c9d8/dom/html/HTMLInputElement.cpp#4305
Either we need to call UpdateState less often or make HTMLInputElement::IntrinsicState faster.
Comment 1•2 years ago
|
||
I'll mark this S2 because it is related to Speedometer. Feel free to adjust.
Severity: -- → S2
Updated•2 years ago
|
Whiteboard: [sp3]
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-367
Comment 2•2 years ago
|
||
Had another offline discussion, moving this to S3/P2.
Severity: S2 → S3
Priority: -- → P2
Assignee | ||
Comment 3•1 years ago
|
||
IntrinsicState is gone, UpdateState is no longer called for every attr change..
Assignee | ||
Updated•1 years ago
|
Assignee: nobody → emilio
You need to log in
before you can comment on or make changes to this bug.
Description
•