from listman.spamassassin.taint.org (listman.spamassassin.taint.org [66.187.233.211]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7SGRKZ00435 for
    <jm-exmh@jmason.org>; Wed, 28 Aug 2002 17:27:20 +0100
from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id D5EA140D9E; Wed, 28 Aug 2002
    12:27:04 -0400 (EDT)
from int-mx1.corp.spamassassin.taint.org (int-mx1.corp.spamassassin.taint.org
    [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 25DCF3F5A2
    for <exmh-workers@listman.redhat.com>; Wed, 28 Aug 2002 12:07:11 -0400
    (EDT)
(from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g7SG77623708 for exmh-workers@listman.redhat.com; Wed, 28 Aug 2002
    12:07:07 -0400
from mx1.spamassassin.taint.org (mx1.spamassassin.taint.org [172.16.48.31]) by
    int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g7SG77Y23695 for
    <exmh-workers@redhat.com>; Wed, 28 Aug 2002 12:07:07 -0400

> From:  Anders Eriksson <aeriksson@fastmail.fm>
> Date:  Mon, 26 Aug 2002 20:00:36 +0200
>
>
> lately I've got the feeling that exmh is getting slower and slower. I
> just decided to check that vs. reality, and yes, speed has left the
> scene somewhere between the release of 2.5 and now.
>
> I checked on a number of small messages in a big folder (~10000
> msgs). The delay of the Next button has increased considerably:
>
> 2.5-release: 350-450 msec
> latest cvs: 1000-12000 msec
>
> Frankly I think this is getting close to non-acceptable since the
> user settings hasn't changed.
>
> Anybody have any ideas where performance disappeared?
Here's a fix that I think will make a real difference.
Ftoc_ShowSequences needs to be able to be called with an optional list of msgids
to update and if it's called that way it only removes or adds tags for those
messages.  Then in places like MsgChange, we only update the messages which have
changed.
Also, a separate Ftoc_ShowSequence function which only updates the display of
one sequence should be written which also takes an optional list of msgids.
In a place like MsgChange, it would only need to update the cur sequence.
If nobody else gets to it, I'll do this when I get back.
Chris
--
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX  78701		+1 512 374 0500
World War III:  The Wrong-Doers Vs. the Evil-Doers.