Performance:StartupTasks: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
Line 22: Line 22:
* Many descendant selector uses are unnecessary and can be refactored to use the child selector or (if applicable) have the targeted element inherit attributes from its parent.
* Many descendant selector uses are unnecessary and can be refactored to use the child selector or (if applicable) have the targeted element inherit attributes from its parent.
=== Tabbrowser ===
=== Tabbrowser ===
* Clean up leftovers from tabbrowser move (Ryan)
* Clean up leftovers from tabbrowser move - {{bug|393734}}


== Miscellaneous ==
== Miscellaneous ==

Revision as of 20:54, 25 August 2007

This is a page for tracking the work on improving the startup performance for Firefox 3. It should list the main items that are being researched or that need to be researched, names against those in progress and where we think we can make useful improvements, bugs tracking the fixes.

XBL Simplifications

Tabbrowser

  • Kill off the theme specific bindings and control minor differences with CSS
  • Kill the close button binding
  • Try to use plain widgets where possible (eliminate extensions)

XUL Reduction

http://groups.google.com/group/mozilla.dev.apps.firefox/browse_frm/thread/6db1639b028850f5/

Toolbars

Searchbar

  • Remove engine button stack hack (Ryan)

Tabbrowser

  • <tab>s are 10 levels down from <tabbrowser>

CSS Optimizations

http://developer.mozilla.org/en/docs/Writing_Efficient_CSS

General Quick Gains

  • Except in rare cases, any use of the universal selector is wrong!
  • Many descendant selector uses are unnecessary and can be refactored to use the child selector or (if applicable) have the targeted element inherit attributes from its parent.

Tabbrowser

  • Clean up leftovers from tabbrowser move - bug 393734

Miscellaneous