From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41004 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: Thu, 27 Dec 2001 16:33:10 +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 1035176472 3928 80.91.224.250 (21 Oct 2002 05:01:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:01:12 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 10452 invoked from network); 27 Dec 2001 15:36:29 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 27 Dec 2001 15:36:29 -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 16JcZN-0005sA-00; Thu, 27 Dec 2001 09:35:45 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 27 Dec 2001 09:35:35 -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 JAA17365 for ; Thu, 27 Dec 2001 09:35:22 -0600 (CST) Original-Received: (qmail 10424 invoked by alias); 27 Dec 2001 15:35:25 -0000 Original-Received: (qmail 10419 invoked from network); 27 Dec 2001 15:35:24 -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; 27 Dec 2001 15:35:24 -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 fBRFZNSr007348; Thu, 27 Dec 2001 16:35:24 +0100 Original-To: Russ Allbery In-Reply-To: (Russ Allbery's message of "Thu, 27 Dec 2001 02:04:34 -0800") Mail-Copies-To: nobody Original-Lines: 37 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:41004 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41004 Russ Allbery writes: > However, the speed difference is still very noticeable. What follows is > two elp-results from instrumenting both "gnus" and "nn"; the first is from > Oort (CVS pull as of a few days ago) and the second is from 5.8.7. Thank you. FWIW, I can reproduce this. Gnus 5.9.0 from Emacs 21 is faster than Oort Gnus 0.0.4 (8 seconds vs 12 seconds for me). The following speed things up, but I don't think everything can be blamed on this. Does it have any effect for you? --- nntp.el.~6.15.~ Tue Oct 30 18:47:08 2001 +++ nntp.el Thu Dec 27 16:31:50 2001 @@ -396,15 +396,15 @@ nntp-address nntp-port-number nntp-server-buffer wait-for nnheader-callback-function) ;; If nothing to wait for, still remove possibly echo'ed commands - (unless wait-for - (nntp-accept-response) - (save-excursion - (set-buffer buffer) - (goto-char pos) - (if (looking-at (regexp-quote command)) - (delete-region pos (progn (forward-line 1) (gnus-point-at-bol)))) +; (unless wait-for +; (nntp-accept-response) +; (save-excursion +; (set-buffer buffer) +; (goto-char pos) +; (if (looking-at (regexp-quote command)) +; (delete-region pos (progn (forward-line 1) (gnus-point-at-bol)))) +; ))) ))) - )) (defun nntp-send-command-nodelete (wait-for &rest strings) "Send STRINGS to server and wait until WAIT-FOR returns."