Performance:StartupTasks: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: 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 agains...)
 
mNo edit summary
Line 2: Line 2:


== XBL Simplifications ==
== 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 ==
== XUL Reduction ==
http://groups.google.com/group/mozilla.dev.apps.firefox/browse_frm/thread/6db1639b028850f5/
=== Toolbars ===
* Remove endcap stack hack - {{bug|387646}}
=== Searchbar ===
* Remove engine button stack hack (Ryan)
=== Tabbrowser ===
* <tab>s are 10 levels down from <tabbrowser>


== CSS Optimisations ==
== 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 (Ryan)


== Miscellaneous ==
== Miscellaneous ==

Revision as of 11:29, 24 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 (Ryan)

Miscellaneous