Closed
Bug 23302
Opened 25 years ago
Closed 25 years ago
Copying imap messages to local folders is deadly slow
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M13
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
Details
(Keywords: perf)
I copied 10 small imap messages to a local folder - it took over a minute!
Comment 1•25 years ago
|
||
I just tried copying 10 3KB messages to a local folder from imap and it finished
in under 10 seconds on my machine...Strange.
Comment 2•25 years ago
|
||
I take that back...not all the message had been copied when I stopped timing. =)
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M14
Assignee | ||
Comment 3•25 years ago
|
||
accepting
Assignee | ||
Comment 4•25 years ago
|
||
At least one part of the problem is that we're fetching the messages one by one,
instead of all at once, the way 4.5 did. My guess is that this is the main
problem - I'll look at what I can do to fix this.
Assignee | ||
Comment 5•25 years ago
|
||
We're also not using PEEK to fetch the message bodies; this is wrong because
it'll mark the message read on the server.
Comment 6•25 years ago
|
||
Also John Meyers just posted to the mailnews group saying that we are doing a
SELECT on the destination folder for each copy as well which isn't necessary.
I'm sure this hurts us a lot too.
Assignee | ||
Comment 7•25 years ago
|
||
The destination folder in this case is a local folder, so that's not relevant to
this particular slowness :-(
Assignee | ||
Comment 8•25 years ago
|
||
After poking around the message copy service for a while, it seems that it's
only designed to copy one message at a time (and select the folder after each
copy). I think I'm going to need to rewrite each message service to be able to
copy multiple messages at a time (or just the imap message service, and add some
sort of way of knowing which message services can do multiple copies at one time)
Comment 9•25 years ago
|
||
*duh* i forgot this was imap to local...
oh what copy service are you talking about, nsIMsgMessageService?
Keywords: perf
Summary: [PERF] copying imap messages to local folders is deadly slow → Copying imap messages to local folders is deadly slow
Comment 10•25 years ago
|
||
Adding perf to keyword field.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M14 → M13
Assignee | ||
Comment 11•25 years ago
|
||
fixed in m13 - if you re-open this, please move to m14!
Comment 12•25 years ago
|
||
On 1/11/00 windows build it took me 25.62 seconds to copy 10 imap msg to Local
folder. On 2/21/00 windows build it takes only 10.88 seconds. Tested on 133 Mhz,
Win 95, 64 MB RAM.
Marking as verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 13•14 years ago
|
||
(In reply to comment #11)
> fixed in m13
http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&sortby=Date&hours=2&date=explicit&mindate=2000-01-18+14%3A33&maxdate=2000-01-18+14%3A33
Depends on: 611233
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•