We were collecting frame reflow counts by class and by individual frames
and then Kevin M. thought it might be interesting to see the counts
visually in the browser. It is actually very interesting....

Turn it by adding the following pref to your prefs.js (for mozilla) and
default_prefs.js (for viewer):

Visually show individual frame counts:
user_pref("layout.reflow.showframecounts", true);

Dumps to console window the class reflow counts:
user_pref("layout.reflow.dumpframecounts", true);

Dumps to the console window the individual frame counts:
user_pref("layout.reflow.dumpframebyframecounts", true);

Note: The viewer now has a menu item for turning on and off the display
of the frame counts.

Go to menu Debug->Reflow Debugging

Currently, this should work for all debug builds on Win and Linux and
will soon work on Mac.

Rod


Reply via email to