bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Big jump in reflows

VERIFIED FIXED in mozilla0.9


Core Graveyard
Embedding: GTK Widget
17 years ago
6 years ago


(Reporter: Curt Patrick (gone), Assigned: Stuart Parmenter)



Firefox Tracking Flags

(Not tracked)



(1 attachment)



17 years ago
On the 29th daily reflow testing indicated a big jump in the number of reflows 
and the number has remained high since.  See 

Perhaps coincidentally, the number of leaks counted jumped up dramatically for 
the same build and has also remained very high.  See 
Why is this assigned to me?

Comment 2

17 years ago
marc or someone in layout land, we need help to take a look at this reflow count 

Comment 3

17 years ago
Would that perhaps be:

In that case it was a cache landing but very few layout changes. Could the patch
for bug 28220 cause something like this?

Comment 4

17 years ago
Taking to investigate...
Assignee: blizzard → attinasi

Comment 5

17 years ago
Curt, do you have the detailed reflow logs for this? I am interested in one or
both of the following:

1) the reflow counts per frame type
2) the reflow counts per URL

Basically, total reflow counts don't give us much to focus the search, but if we
know what types of frames have more reflows, or if we know which URLs are
showing the biggest jumps, then that will really help.

Comment 6

17 years ago
moving to m0.9
Target Milestone: --- → mozilla0.9

Comment 7

17 years ago
can anyone try backing out my rather minor changes to formatting.css? it just
added a rule with a ".link" selector:

I don't know enough about testing reflow counts to know how to test this, but I
want to make sure it's not me :)

Comment 8

17 years ago
Actually, alec's query has made me wonder just how these tests are run. Using
SeaMonkey or and Embed app? Using which skin? What URL's? Is there a description
of the test suite available? Thanks.

I'm checking my change to nsLineLayout (3.95) to see if that could account for
the dramatic change in reflow counts.

BTW: Rod Spears posted to n.p.m.performance instruction on how to dump reflow
counts for those who want to check their changes for themselves...
detailed information is available for each days tests at 
"Entire output from reflow test" is lengthy, but I believe it has the info 
you're looking for

Comment 11

17 years ago
This test is only on Linux right? libpr0n was enabled in Linux builds for 
builds of 3/30, the build that show the increase (or specifically it was 
enabled at 03/29/2001 23:05). Just a data point.

Comment 12

17 years ago
Just verified with Curt, his automation is only available on Linux right now.  
So, this is the result of reflow on Linux.  Curt built the test automation to 
use rods reflow count tool to get reflow numbers.

cc'ing pav

Comment 13

17 years ago
I'm almost positive this is due to something changing with images. I looked at 
the reflow comparison chart and noticed that there are some URLs with very small 
or non-existant reflow count deltas, and some with very large deltas. Examining 
those URLs I noticed that those URLs with large deltas have many images, and 
those with small or 0-deltas have few or no images (there is an exception, 
www.lesechos.fr/index.html, which has many images but a small delta: this needs 
further examination).

The correlation is pretty amazing. At the extreme is the URL 
base/www.w3.org_DOML2Core/ : this page has no images and has a delta of 0 (no 
change in reflow counts). At the other extreme, www.zdnet.com_Gamespot.com/ has 
162 images and the reflow delta is 9954, or a 343% increase.

I'll attach the details for others to examine. I'm still not convinced that this 
extra reflowing is terrible since the load times are not suffering, but I'm not 
convinced that it is benign either.

Can anyone build from the same source with and without libp0rn and see what 
happens to the reflows, if it somewhat mirrors the difference between the 3/29 
and 3/30 builds? Pavlov?
Priority: -- → P1

Comment 14

17 years ago
Created attachment 29913 [details]
TEXTFILE: Comparison of 2/29 vs. 3/30 builds: reflow counts compared to number of images

Comment 15

17 years ago
Over to pav - he says he has this fixed now.
Assignee: attinasi → pavlov

Comment 16

17 years ago
yup, checked in a fix last night
Last Resolved: 17 years ago
Resolution: --- → FIXED
verified fixed with embed build 2001-04-17
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.