Closed Bug 151262 Opened 23 years ago Closed 23 years ago

XUL fastload sends garbage to CSS parser

Categories

(Core :: XUL, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.1beta

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file)

One of the reasons for the performance regressions with XUL fastload is that it's sending garbage to the CSS parser -- a bunch of empty strings and class attributes. I noticed this a few weeks ago and should have looked into it then or pointed someone to it. However, the fix is trivial, and will be attached. (nsIContent::GetAttr has multiple success values.)
Attached patch patchSplinter Review
I should have said "may be", since I haven't actually measured performance -- it may not be measurable.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.1beta
Comment on attachment 87393 [details] [diff] [review] patch r=waterson!
Attachment #87393 - Flags: review+
Fix checked in 2002-06-13 15:14 PDT. comet Txul times: before: 471,479,479,475 (mean: 476.00) after: 463,469,468 (mean: 466.67) t-test p=0.018 comet Ts times: before: 1561,1557,1568,1547 (mean: 1558.25) after: 1531,1542,1532 (mean: 1535.00) t-test p=0.0090 There were other changes that could have mattered, although not between the last cycle before and first cycle after.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
help, jrgm, Thx!
QA Contact: shrir → jrgm
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: