Closed Bug 109107 Opened 24 years ago Closed 22 years ago

investigate and improve nsAbCollecter::CollectAddress() perf

Categories

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

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED INVALID
Future

People

(Reporter: sspitzer, Assigned: mscott)

References

Details

(Keywords: perf)

investigate and improve nsAbCollecter::CollectAddress() perf I see some things that look suspect, but I don't have quantify numbers yet to know how much it costs us. //remove card from ab, and m_historyAB->DeleteCard( existingCard, PR_TRUE ); SetNamesForCard(existingCard, curName); //append it to the bottom. rv = AddCardToCollectedAddressBook(existingCard); NS_ENSURE_SUCCESS(rv,rv); if you see badness, please wait for me to land #73868, to avoid conflicts.
I haven't been waiting long enough before stopping my quantify log for the timer to go off and add the message to the collected address book. This doesn't really show up as a perf hit for message display because of the timer. The message is usually already displayed before the timer goes off to add the address to the CAB. next time I do a run I can wait till it goes off to tell you how long it is taking.
Blocks: 22960
Status: NEW → ASSIGNED
Keywords: nsbeta1, perf
Target Milestone: --- → mozilla0.9.7
nsbeta1+ for investigation and fixing if anything shows up.
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
This really isn't too much of an issue with message display anymore because I moved it to a 2 second timer. Moving out.
Target Milestone: mozilla0.9.7 → mozilla0.9.8
moving out because message display investigation is on hold for a while. Moving to future based on mscott's last comments. If we want to investigate this later, we can move it back in.
Keywords: nsbeta1+nsbeta1-
Target Milestone: mozilla0.9.8 → Future
this is now invalid. we never collect addresses from read messages, only from messages you reply to.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.