From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53408 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Re: Slow IMAP startup Date: Sun, 13 Jul 2003 04:33:20 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <84adbjzeki.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1058064187 9012 80.91.224.249 (13 Jul 2003 02:43:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Jul 2003 02:43:07 +0000 (UTC) Original-X-From: ding-owner+M1952@lists.math.uh.edu Sun Jul 13 04:43:06 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19bWpO-0002LE-00 for ; Sun, 13 Jul 2003 04:43:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19bWpk-0008Ak-00; Sat, 12 Jul 2003 21:43:28 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19bWpg-0008Af-00 for ding@lists.math.uh.edu; Sat, 12 Jul 2003 21:43:25 -0500 Original-Received: (qmail 56805 invoked by alias); 13 Jul 2003 02:43:24 -0000 Original-Received: (qmail 56800 invoked from network); 13 Jul 2003 02:43:24 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 13 Jul 2003 02:43:24 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h6D2hLkU005480 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Sun, 13 Jul 2003 04:43:21 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030713:ding@gnus.org:ab408490349ae75a X-Hashcash: 0:030713:ding@gnus.org:ab408490349ae75a In-Reply-To: (Nevin Kapur's message of "Sat, 12 Jul 2003 17:56:40 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53408 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53408 Nevin Kapur writes: > I set about trying to identify the bottleneck. Using elp and edebug, > I think I identified a bug in nnimap-request-newgroups. While looping > over nnimap-list-pattern it ignores the pattern, resulting in each of > your subscribed mailboxes being accessed once for each pattern. The > following patch fixes this and has cut the startup time for me by > about a fourth. Would someone review it and commit it, please? Added, thanks.