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...)
 
 
(6 intermediate revisions by 2 users not shown)
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}}
* Remove autocomplete dropmarker stack - {{bug|397331}}
* Remove .formatted-url scrollbox - {{bug|388030}}
* Remove autocomplete-security-wrapper - {{bug|397466}}


== CSS Optimisations ==
=== Searchbar ===
* Remove engine button stack hack (Ryan)
=== Tabbrowser ===
* <tab>s are 10 levels down from <tabbrowser>
** tabs-bottom-spacer is unused (allows us to remove a vbox wrapper) - {{bug|421721}}


== Miscellaneous ==
== 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}}
 
== Ts Distribution ==
5 runs of 10 averaged and re-baselined prior to each test.
 
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWHbi9UadPHHfA Chromeless] - 59%
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWGbu68b5Y2mLw Searchbar] - 7.93%
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWGAQCozNOz4Jw Menu items] - 7.03%
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWH2-hGhR40Bag Urlbar bindings] - 2%
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWHp_oEUX4eNdw Personal toolbar] - 4.44%
* [http://spreadsheets.google.com/pub?key=p1p7XQKQlVWFrCyUTHlNiSA Findbar] - 2.84%

Latest revision as of 19:04, 8 March 2008

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>
    • tabs-bottom-spacer is unused (allows us to remove a vbox wrapper) - bug 421721

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

Ts Distribution

5 runs of 10 averaged and re-baselined prior to each test.