From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40966 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Checking new mail very slow with current CVS Date: Wed, 26 Dec 2001 00:11:58 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176439 3726 80.91.224.250 (21 Oct 2002 05:00:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:00:39 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 2745 invoked from network); 25 Dec 2001 23:15:46 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 25 Dec 2001 23:15:46 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16J0mA-0004Kr-00; Tue, 25 Dec 2001 17:14:26 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Dec 2001 17:14:16 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id RAA10789 for ; Tue, 25 Dec 2001 17:14:06 -0600 (CST) Original-Received: (qmail 2729 invoked by alias); 25 Dec 2001 23:14:09 -0000 Original-Received: (qmail 2724 invoked from network); 25 Dec 2001 23:14:09 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 25 Dec 2001 23:14:09 -0000 Original-Received: from localhost.localdomain ([195.42.214.241]) (authenticated bits=0) by yxa.extundo.com (8.12.1/8.12.1) with ESMTP id fBPNE33O000656; Wed, 26 Dec 2001 00:14:08 +0100 Original-To: Russ Allbery In-Reply-To: (Russ Allbery's message of "Tue, 25 Dec 2001 14:07:04 -0800") Mail-Copies-To: nobody Original-Lines: 30 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40966 Russ Allbery writes: >> M-x elp-instrument-package RET gnus RET (try `mail' and `nn' as well) >> and post the M-x elp-results RET. > > You make this sound so easy. :) It is easy. elp.el under XEmacs was broken. I've sent a patch. > Function Name Call Count Elapsed Time Average Time > ====================================== ========== ============ ============ > gnus-group-get-new-news 1 5.8076979999 5.8076979999 > gnus-get-unread-articles 1 3.6845229999 3.6845229999 > gnus-read-active-file 1 1.7725740000 1.7725740000 > Function Name Call Count Elapsed Time Average Time > ====================================== ========== ============ ============ > nnml-request-update-info 228 0.9812729999 0.0043038289 > nnml-possibly-change-directory 458 0.7332279998 0.0016009344 > nnml-marks-changed-p 228 0.4948360000 0.0021703333 Is 5.8 seconds slow? I guess the new marks stuff makes up for 1 second of that time. Hm. But `nnml-request-update-info' takes 0.5 seconds longer than `nnml-marks-changed-p' which should only happen when Gnus starts the first time (or if some other Gnus changed the files). Then the marks stuff should only be bound by the extra time spent in `nnml-marks-changed-p'. You could try adding a 'nnml-marks-is-evil' server parameter. But maybe something else has changed as well that makes things slow.