Labs/Test Pilot/Test Proposals/"Memory /Size Hog" Function Usage

Champion

Rob_C


Question

We know (or can estimate) which functions are largest and which use the most memory; we should find out IF the Feature actually gets any use. We would delete any bloat and fix FIRST the most used portions of Firefox.

We could also use this same Data collected in this manner for other helpful purposes:

  • If we find that Bookmarks are not often used (and then re-used) we might decide we had time to compress them or to check them from time to time to see if the URL is still good (and notify User).
  • If we find that the Users rarely use the [Home] or [Stop] Buttons then they could be smaller.
  • If we find particular Menu Items are used a lot then they could 'percolate' to the top of the Menu in the next version of Firefox. Un-used Menu Items could be moved to the bottom or even dropped into the 'Arrow At Bottom Menu Expander' (we do not have this on OUR Menus but MS Word and some other Programs do).
  • IF we had a huge Function that often causes problems (crashes or questions on usage) but is rarely used we could post a Discussion about removing the Feature.


Data

A simple counter (a few lines of code) on each of the chosen Functions could record how many times these Functions are called. For _some_ Functions we could also determine the difference between the "Function Entry Time" and the "Function Exit Time" (EG: [Tools][Add-ons] might get a lot of viewing or not very much).