Closed Bug 107151 Opened 24 years ago Closed 24 years ago

improve addressbook performance.

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: sspitzer, Assigned: sspitzer)

References

()

Details

(Keywords: perf)

Attachments

(1 file)

improve addressbook performance. starting with cleaning up our datasources, cleaning up our CSS, and switching to outliner. stephend, do you have any perf numbers for addressbook up publicly? if so, can you add a link here?
No longer depends on: 73868
bug 105783 could help a lot here; depends on your timeframe though (i'm hoping to have first cut done this week).
Keywords: perf
QA Contact: nbaca → stephend
Hardware: PC → All
Depends on: 100281
To follow up on that, I ran a quick test on the time it took to display the "Collected addresses" pane the first time (100 addresses total). The cleaned up sorting code I have in my tree sped it up by about 25% compared to the original code -- from 400k microseconds to 300k.
Argh, no, this is not correct. These are only times spent in nsXULContentBuilder::CreateContainerContents(). This is usually a sizeable chunk of the total time, but I don't have the real numbers here.
the XUL sort service changes will not affect addressbook too much. I'm going to be switching the results pane over to a pure nsIOutlinerView, so I'll be doing the sorting myself, similar to what we do nsMsgDBView.cpp
I've landed some css fixes to addressPane.css which will help perf.
there are still performance issues, but I'm going to claim victory on this bug, and open new bugs for the specific issues. stephend, when you have some time could you re-run the tests at http://www.mozilla.org/mailnews/performance/abookperf.html edit card and new card will still be slow, but the other items should have gotten much faster.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla0.9.8
Verified FIXED. I'll start to spin up individual bugs now that Outliner has landed. Here is the breakdown by area: 60% improvement in sort by name 62% improvement in sort by email 37% improvement in address book load time 88% improvement in scrolling No improvement in Edit Card or New Card (but Seth knew this).
Status: RESOLVED → VERIFIED
Depends on: 73868
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: