Closed
Bug 183560
Opened 22 years ago
Closed 19 years ago
mail copy is very inefficient
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: colin, Assigned: Bienvenu)
References
Details
(Keywords: perf)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
As reported in bug 182227, we need to do something about the way mailnews copies
a mail message (for example, when it copies it to the Sent folder). Here's what
its doing.
We read 10k bytes into a buffer, return just the first line, seek to the end of
the first line, then read 10k bytes again, return the second line, seek to the
end of the second line, etc. Talk about slow. No wonder I'm seeing reports of
disk grinding noises. I don't think you could come up with a slower way to copy
a file if you tried!!!
Comment 1•22 years ago
|
||
*** Bug 182227 has been marked as a duplicate of this bug. ***
Comment 2•22 years ago
|
||
Reporter, is this on an IMAP account?
Reporter | ||
Comment 3•22 years ago
|
||
Nope, POP3.
Assignee | ||
Comment 5•22 years ago
|
||
this will speed up copying quite a bit, and fix the disk grinding. It doesn't
have to do with your diagnosis of the problem, Colin, but it gives a huge perf
win so I'm attaching it to this bug.
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 121081 [details] [diff] [review]
partial fix
this has r/sr=sspitzer
Updated•20 years ago
|
Product: MailNews → Core
Assignee | ||
Comment 7•19 years ago
|
||
marking fixed
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
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
•