Closed Bug 488606 Opened 13 years ago Closed 13 years ago

undoing delete of large number of local messages is slow

Categories

(MailNews Core :: Backend, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: perf)

Attachments

(1 file)

Attached patch proposed fixSplinter Review
we're doing a sync after every message during undo of local msg moves. Adding a batch wrapper speeds this up quite a bit (and will make flash drives happier).
Attachment #373018 - Flags: superreview?(bugzilla)
Attachment #373018 - Flags: review?(bugzilla)
cool. where did this issue surface?
I was working on changing the way the folder pane listens for change notifications so that it doesn't get notifications for every msg hdr added/removed (which it ignores, but we still pay the cost of calling from c++ into js), and in the process of testing those changes, discovered this issue. I believe it's been there for a long time, fwiw.
Attachment #373018 - Flags: superreview?(bugzilla)
Attachment #373018 - Flags: superreview+
Attachment #373018 - Flags: review?(bugzilla)
Attachment #373018 - Flags: review+
fix checked in.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
You need to log in before you can comment on or make changes to this bug.