Closed Bug 235511 Opened 22 years ago Closed 20 years ago

Investigate regression in Txul/Ts from attributes landing

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sicking, Unassigned)

Details

(Keywords: perf)

There was a slight regression in Txul and Ts of around 1-2% when XUL was converted to use nsAttrAndChildArray. Part of this might be from the fact that we now more seldomly make xul-elements heavyweight. This reduces memoryuse, but it slows down GetAttrNameAt and GetAttrCount. This bug is about investigating fixing that slowdown. I have a patch in the works, but it's not quite ready yet.
Is this bug valid nowadays?
The fixes i had in mind were done in bug 232639. I don't think there is much more we can do here short of more often making elements heavy-weight, which I don't think we want to do. This bug can be marked either FIXED (since bug 232639 should have given some of the perf hit back) or WONTFIX since I can't think of anything more we can do here short of adding bloat.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.