User:Rflint/Performance:Tabbrowser

From MozillaWiki
Jump to: navigation, search

General

  • Make tabbrowser extend tabbox?
  • Field cleanup
  • Arrowscroll extension and tab guts to be removed in re-theming
  • Cleanup/remove close button binding
  • Don't need the getComputedStyle check for RTL?
  • API cleanup - not too much to part with

Adding tabs

  • CPS is close to being the heaviest
  • Clone generic tab vs. createElement+setAttribute
  • Dispatching events
  • Setting up scrollbars
  • Session store not in play for single tab loads - painful for loading groups

Removing tabs

  • Updating places commands/globalOverlay
    • goUpdatePlacesCommands very slow
    • Other command updates not as slow, but called nearly 70 times
  • Dispatching events
    • dispatching 'select' event in tabbox for tabs/tabpanels very slow
  • Session store again for removing a group
    • Have session store wait before recording