MailNews:Memory Bloat and Leak Tests

From MozillaWiki
Revision as of 10:19, 8 April 2008 by Standard8 (talk | contribs) (First version, WIP)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<< Back to MailNews:Performance Testing

Please do not edit this page unless you are on the Thunderbird or SeaMonkey MailNews team. Your feedback and comments are welcomed on the discussion page.


Note: MailNews here refers to either Thunderbird, or the Mail/Newsgroups/Address Book part of SeaMonkey

Aim

  • To provide a continuous check within Mailnews and its sub-components for the following items:
    1. Total memory leaks.
    2. Total memory usage (aka bloat).
  • Provide a consistent number from build to build where no source code has changed.

Note, it would be difficult to test every possible configuration/dialog, but the components that represent the main day-to-day usage within MailNews should be checked where possible.

Method

  • The method of testing memory bloat and leaks will be the same, using the same run of test data.
  • With a pre-defined profile run up:
    1. MailNews
    2. Address Book
    3. Message Compose
  • Measure Leaks and Bloats, in a similar way to Firefox.

TBD: do we want to select different messages/folders, if so how?

Pre-defined profile

Requirements:

  • One POP3 account (Mails TBD)
  • One Identity
  • One SMTP server defined (not used)
  • One Address Book with 1000 entries

TBD: Newsgroup/rss servers?

No servers will be checked for new mail on startup.

Results

Printed via standard tinderbox methods.