canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628
edits
(Various updates for the initial method and future capabilities/wants) |
|||
| Line 14: | Line 14: | ||
*# Total memory usage (aka bloat). | *# Total memory usage (aka bloat). | ||
* Provide a consistent number from build to build where no source code has changed. | * Provide a consistent number from build to build where no source code has changed. | ||
* Provide reasonable coverage for the normal activities that a user performs. | |||
== Method == | |||
Initial Method: | |||
* Measure Leaks and Bloats, in a similar way to Firefox (using XPCOM_MEM_LEAK_LOG and --trace-malloc). | |||
* The method of testing memory bloat and leaks will be the same sequence of events, using the same set of test data. | |||
*# Startup Main Mail Window | |||
*# Open Address Book Window, close Address Book Window | |||
*# Open Message Compose Window, close Message Compose Window | |||
*# Close Main Mail Window | |||
To be added at a later stage: | |||
* Large Message folders and selection thereof. | |||
* Large Address Books. | |||
* Sending/Receiving on different protocols (this would run best with local servers being setting up i.e. same physical hardware). | |||
== Results == | |||
Printed via standard tinderbox methods, these will consist of: | |||
* RLk | |||
** Reference Count Leaks | |||
* Lk | |||
** Total Bytes malloc'ed and not free'd | |||
* MH | |||
** Maximum Heap size | |||
* A | |||
** Allocations - number of calls to malloc and friends. | |||
== Pre-defined profile == | == Pre-defined profile == | ||
Initial Setup: | |||
* One POP3 account (Mails TBD) | * One POP3 account (Mails TBD) | ||
* One Identity | * One Identity | ||
* One SMTP server defined (not used) | * One SMTP server defined (not used) | ||
Future requirements/possibilities: | |||
* One Address Book where PAB has ~1000 entries | |||
* Large Message folders | |||
08/04/2008: prefs.js created via TB with the above settings, the first section is for preferences included in tinderbox, the second section is ones which don't currently get set. | 08/04/2008: prefs.js created via TB with the above settings, the first section is for preferences included in tinderbox, the second section is ones which don't currently get set. | ||
| Line 94: | Line 108: | ||
user_pref("mailnews.ui.threadpane.version", 6); | user_pref("mailnews.ui.threadpane.version", 6); | ||
</pre> | </pre> | ||