Difference between revisions of "Mozilla.dev.tech.layout"

From CDOT Wiki
Jump to: navigation, search
(FAQ)
(FAQ)
Line 20: Line 20:
 
  be used. [http://www.mozilla.org/performance/tools.html] also lists some profiles.
 
  be used. [http://www.mozilla.org/performance/tools.html] also lists some profiles.
 
2.  How do you findout if there are any reflows that are pending and wait to show the view until afterwards, but if none are pending, show the view immediately?  What is the best way to determine whether there are any pending changes?
 
2.  How do you findout if there are any reflows that are pending and wait to show the view until afterwards, but if none are pending, show the view immediately?  What is the best way to determine whether there are any pending changes?
 +
 +
A. On the reflow branch you could check the DIRTY and DIRTY_CHILDREN framestate
 +
flags.  That won't help with pending style changes, but it'll work to detect
 +
cases when the popup or something in it needs to be reflown.

Revision as of 14:57, 6 October 2006

Newsgroup

Newsgroup name goes here...

Authors

  1. Philip Vitorino
  2. Colin Guy

Weekly Summaries

  1. Mozilla.dev.tech.layout_-_Friday_September_29_2006
  2. Mozilla.dev.tech.layout_-_Friday_October_6_2006

FAQ

1. Is there a way to do profiling of what is going on in Mozilla? Is there a framework for this?

A. If you're on Linux, then you can try using jprof.  Instructions  are available at    
Jprof Readme  On more recent linux versions sysprof can also  
be used. [1] also lists some profiles.

2. How do you findout if there are any reflows that are pending and wait to show the view until afterwards, but if none are pending, show the view immediately? What is the best way to determine whether there are any pending changes?

A. On the reflow branch you could check the DIRTY and DIRTY_CHILDREN framestate 
flags.  That won't help with pending style changes, but it'll work to detect 
cases when the popup or something in it needs to be reflown.