On Mon, 26 Aug 2002 20:00:36 +0200, Anders Eriksson <aeriksson@fastmail.fm>  said:
I'm not seeing a hit on 'next'. A quick "just pound on 'next' and watch the
wall clock" test shows me able to go through 20 messages in under 5 seconds,
so it's well under 250ms per switch, but I'm seeing a really piggy CPU spike
(100% for a few seconds) in the 'flist' code.  Of course, it seems to be
It's particularly annoying because things just hose-and-hang for 10 seconds, so
when it hits, you have a long latency before what you're doing actually
14:08:56 {In FlagInner up iconup labelup}
14:08:58 list-spams has 1 msgs in unseen
14:08:58 {In FlagInner up iconup labelup}
And it takes a hit even if there's no new mail:
14:11:12 Flist_FindSeqs end {9018315 microseconds per iteration}
I'm perfectly willing to can-opener that code and see where the CPU is
going, but only if nobody is slapping their forehead and mumbling about

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 37BB744156
	for <jm@localhost>; Mon, 26 Aug 2002 18:40:29 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Mon, 26 Aug 2002 23:40:29 +0100 (IST)
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 g7QMdsZ12703 for
    <jm-exmh@jmason.org>; Mon, 26 Aug 2002 23:39:55 +0100
from listman.spamassassin.taint.org (localhost.localdomain [127.0.0.1]) by
    listman.redhat.com (Postfix) with ESMTP id C29093F9B1; Mon, 26 Aug 2002
    18:40:02 -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 ABEFB3F553
    for <exmh-workers@listman.redhat.com>; Mon, 26 Aug 2002 18:38:20 -0400
    (EDT)
(from mail@localhost) by int-mx1.corp.spamassassin.taint.org (8.11.6/8.11.6)
    id g7QMcHo02036 for exmh-workers@listman.redhat.com; Mon, 26 Aug 2002
    18:38:17 -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 g7QMcHY02032 for
    <exmh-workers@redhat.com>; Mon, 26 Aug 2002 18:38:17 -0400
from milou.dyndns.org (h189n1fls22o974.telia.com
    [213.64.79.189]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id
    g7QMNMl19536 for <exmh-workers@redhat.com>; Mon, 26 Aug 2002 18:23:22
    -0400
by milou.dyndns.org (Postfix, from userid 500) id AB8A13F21;
    Tue, 27 Aug 2002 00:38:10 +0200 (CEST)
from tippex.localdomain (localhost [127.0.0.1]) by
    milou.dyndns.org (Postfix) with ESMTP id 69C793F20; Tue, 27 Aug 2002
    00:38:10 +0200 (CEST)
Message from Valdis.Kletnieks@vt.edu of
    "Mon, 26 Aug 2002 14:22:46 EDT."
    <200208261822.g7QIMk7P005756@turing-police.cc.vt.edu>
From exmh-workers-admin@redhat.com  Mon Aug 26 23:40:32 2002