Closed Bug 97922 Opened 23 years ago Closed 23 years ago

Very bad performance when moving large message

Categories

(MailNews Core :: Database, defect)

PowerPC
Mac System 8.6
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 88489

People

(Reporter: benjamin, Assigned: Bienvenu)

Details

(Keywords: perf)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3+) Gecko/20010831
BuildID:    2001083110

Create large message by attaching one large file (size of my msg is 12.2MB) Move
it to any other folder. Here the comparison between NS4.7 and Moz (and the
Finder) for the exact same message file:

Loading msg in NS4.7       0:20
Loading msg in Moz         0:10   * Read only ok for Moz.

Move or delete in NS4.7:   0:18   *
Move or delete in Moz:     0:55

NS4.7 save as File:        0:12   *
Moz save as File:          0:39

Delete from Trash folder is instantaneous.

Copy saved file in Finder: 0:04

Has probably something to do with:
bug 74955
bug 88489

Reproducible: Always

Probably All/All
Keywords: perf
Under WinNT, Thunderbird 1gighz, 512MB of RAM, 7200RPM drive speed:
Delete, move, and open all took around the same time: 5 seconds or so.
Save as file took around 12 seconds:

File used:
$ ls -l /tmp/lotr_trailer2_large.rm
-rw-r--r--    1 nemo     nemo     17811474 Sep  2 02:21 /tmp/lotr_trailer2_large.rm
Not that bad then, although I wonder why saving should take so long.   Is it
decoding from MIME Base 64 encoding  as it goes along?  You'd think mozilla
would save binaries to a temporary mail folder the first time they were opened,
or downloaded, to reduce future costs...
Keywords: mail1
Summary: Very bad performance when moving message → Very bad performance when moving large message
QA Contact: esther → sheelar
reporter,
can you give us more of your system info?
PowerMac 8600/200 with G3/400/1MO L2 Mhz / Fast-SCSI Barracuda 7200 RPM  HD 
(Reach 10MB/s w/o problem) MacOS 8.6. 
It does seem that Mozilla's performance is consistently suboptimal on older Macs 
upgraded to G3 or G4 CPU's. Something about Mozilla's architecture is probably 
particularly exposed on such systems, at least as compared to more traditional Mac OS 
applications.

These systems, being older, usually have slower busses and memory (and everything else 
non-CPU) , which obviously aren't accelerated by the CPU upgrade cards.

(I had my own experience with this. My old 7500 was upgraded to a 250-MHz G3 card, 
and everything ran speedily on it except Mozilla. Eventually the 7500 broke down and I 
bought a new 466-MHz G4, and Mozilla runs as fast on it as anything else.)
Reporter, it probably won't matter much, but see if 0.9.4 is any different.
Nop. No diff.
QA Contact: sheelar → stephend
Reporter, are you moving something only in Local Folders or is it working with a mail 
server? If a server, IMAP or POP?
Greg:

> Reporter, are you moving something only in Local Folders
> or is it working with a mail server?If a server, IMAP or POP?

POP server -> Local moving

> It does seem that Mozilla's performance
> is consistently suboptimal on older Macs 
> upgraded to G3 or G4 CPU's.

I made the same test (Move a same file in Moz and NS from inbox to any folder 
locally) on a PowerBook G3@333 / MacOS 8.6 / Moz 0.9.4 (release) w/ 12.1 MB mail 
msg

Moz   -> 1:10
NS4.7 -> 0:12

I think that it's related to the very slow performances of the I/O in MozMail 
under Mac at least.

Something must be done. This bug and Bug 88489 have a very critical impact on the 
usability of Moz as a Mail Client and are probably related.
Almost certainly a dup of bug 88489.

*** This bug has been marked as a duplicate of 88489 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verify dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.