Closed Bug 108660 Opened 23 years ago Closed 23 years ago

Bloat up following 43220 landing

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hyatt, Assigned: pierre)

References

Details

(Keywords: memory-footprint, perf)

Attachments

(1 file)

Examining tinderbox, it looks like something strange happened following the 
43220 landing.  Both Linuxes show a large increase in bloat.  This is the worst 
offender.

SelectorMatchesData                         2826668      52.36%

dbaron, can you help out here?  Does this look real to you?
Also, jst got a perf improvement from his form flushing fix that seemed to be 
immediately eaten up by this checkin, but that's harder to verify.  Let's 
concentrate on the bloat in the hopes that that might also flush out the perf 
problem.
cc'ing jrgm, so he can investigate this checkin's effect.
The SelectorMatchesData objects are constructed on the stack.  This is phony
bloat, and the problem with the bloat tools that are on all tinderboxes (except
the numbered one on Seamonkey-Ports that's the machine on my desk).

However, this increase probably indicates a sinnificant performance hit.
cc'ing waterson, who just asked about this in n.p.m.performance
Blocks: 71668
Keywords: footprint, perf
Probably the best way to fix this is by fixing bug 83836.
I've done builds/tests against a trunk build from about 1pm today, where I 
have backed out jst's change and/or pierre's change [on win32]. I can reproduce
jst's change, particularly since it was a no-op for most of the pages, but a 
big change for a certain list (which I already had identified earlier). 
However, with pierre's changes, I can't distinguish them from ~1% noise. 

It may be that there was greater impact (or not) on linux, and the results
listed in the tinderbox logs for btek show a clear difference between each of 
the three successive builds. see attached.
Per jrgm's data, it's a WorksForMe on Win32.  If there was a problem on Linux, it 
was fixed, or largely balanced, by the changes from dbaron in the initialization 
of SelectorMatchesData (bug 83836).
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: