Closed
Bug 7002
Opened 25 years ago
Closed 25 years ago
Speed up mail by removing call to UpdateSummaryTotals
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M6
People
(Reporter: scottputterman, Assigned: scottputterman)
References
Details
(Whiteboard: [Perf])
I found that we could speed up mail to take 1/6 of the time to load headers if
we remove the call to UpdateSummaryTotals in OnAddKey. The side effect of this
is that message counts won't appear correctly in the folder pane and that styles
in the thread pane don't show up correctly until you mouse over the affected
header. But I think both of these side effects are worth introducing and
figuring out later to get the speed gain.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Hardware: PC → All
Resolution: --- → FIXED
Assignee | ||
Comment 1•25 years ago
|
||
I checked in a fix for this.
If you fix this for M6, we'll need to document the side effects in the release
notes. Thanks.
Assignee | ||
Comment 5•25 years ago
|
||
base\util\nsMsgDBFolder.cpp in the function OnAddKey. I just commented out the
call to UpdateSummaryTotals. You'll only see the difference if you have to
reparse your mailbox folder.
Current code shows:
NS_IMETHODIMP nsMsgFolder::UpdateSummaryTotals()
{
//We don't support this
return NS_OK;
}
VERIFIED as acceptable code
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•