Profiling Thunderbird Performance
Revision Information
- Revision id: 228605
- Created:
- Creator: Wayne Mery
- Comment: correct {for for mac
- Reviewed: No
- Ready for localization: No
Revision Source
Revision Content
Creating a performance profile can be useful for developers to find the causes of high CPU load or slowness in Thunderbird.
Table of Contents
Preparing performance recording in Thunderbird
The performance recorder is part of the Developer Toolbox in Thunderbird. It is not shown by default, so you need to enable it first from the toolbox settings, as described below. Before you start your recording, prepare the scenario which you want to test in Thunderbird.
1. In Thunderbird’s main window, open the Developer Toolbox:
Press Ctrl + Shift + ICommand + Shift + I, or click on > > > .
2. Important: Confirm the warning prompt Incoming Connection with OK so that the toolbox can connect to your Thunderbird application. Note: The prompt might be hidden behind other Thunderbird windows.
3. In the new Developer Tools window, open the Settings:
Press F1, or click on the button in the top-right corner, then on . If you don't see the Developer Tools window, check the Mac dock.
4. Under Default Developer Tools, ensure that
is checked.5. Click on the
tab that has appeared at the top of the toolbox.6. Important: Before starting your performance recording, go back to the main Thunderbird window, and prepare it so that you are ready to record the performance of the scenario that is slow or causing high CPU load.
Recording and saving a performance profile
You are now ready to record and save the performance profile of your scenario. Unless told otherwise, try to keep your recording as short as possible by recording only the exact set of actions which are suspected to cause the problem.
- In the tab of the Developer Tools window, click on the button.
- Without delay, go back to the main Thunderbird window and perform the set of actions you want to record.
- Once finished, immediately select in the Developer Tools window.
- On the left side, right next to the new Recording #1 item, click the Save link and save the file to somewhere on your computer. The file extension must be .json.
Sharing a performance profile
1. Go to https://profiler.firefox.com/ (yes, on firefox.com).
2. Select
and select the .json file which you just saved for upload.3. Important: Near the top-right, select the green
button, then in the Share Performance Profile panel, select the (blue) button again.4. Copy the link (e.g. https://share.firefox.dev/1XYZXYz) which pops up in the top-right corner under the new new bug or existing bug on Bugzilla (BMO).
button and paste it into an appropriate5. Finally, back in the Developer Tools
tab, you can delete the performance profile using the trash-icon just above the profile list in the left-top corner (where you saved the profile), and then close the Developer Tools window.