From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57850 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus vs Wanderlust Date: Sat, 05 Jun 2004 17:14:44 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87zn7mvrcl.fsf@tc-1-100.kawasaki.gol.ne.jp> <87u0xsrzod.fsf@tc-1-100.kawasaki.gol.ne.jp> <87fz9acmo8.fsf@tc-1-100.kawasaki.gol.ne.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086448599 27840 80.91.224.253 (5 Jun 2004 15:16:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2004 15:16:39 +0000 (UTC) Original-X-From: ding-owner+M6391@lists.math.uh.edu Sat Jun 05 17:16:29 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWcuL-0007v5-00 for ; Sat, 05 Jun 2004 17:16:29 +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 1BWct9-0005q8-00; Sat, 05 Jun 2004 10:15:15 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BWct4-0005q3-00 for ding@lists.math.uh.edu; Sat, 05 Jun 2004 10:15:10 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BWct0-0000KA-9H for ding@lists.math.uh.edu; Sat, 05 Jun 2004 10:15:06 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 232DC3A0055 for ; Sat, 5 Jun 2004 10:15:04 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BWcsw-00060l-00 for ; Sat, 05 Jun 2004 17:15:02 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jun 2004 17:15:02 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jun 2004 17:15:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 100 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:oUECxvIbGBAApIvPXXj8NyphmWk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57850 Miles Bader writes: > Simon Josefsson writes: >> Have you disabled the agent cache? Otherwise, headers should be >> cached, and entering a summary is bounded almost completely by CPU >> generating the actual summary buffer. > > More a case of only recently having switched to Gnus 5.10; this agent > stuff is a bit new for me... It should all be enabled by default. If entering a summary buffer spends more time in the backend than generating the buffer, I think something may be wrong. (Possibly except for the first time you enter the group, if your backend is slow.) Two ELP examples below. First example, entering largish group (~54k articles, C-u RET on gmane.emacs.gnus.general): Function Name Call Count Elapsed Time Average Time ============================================================================ ========== ============ ============ gnus-topic-read-group 1 324.808153 324.808153 gnus-group-read-group 1 324.808111 324.808111 gnus-summary-read-group 1 324.808086 324.808086 gnus-summary-read-group-1 1 324.808077 324.808077 gnus-summary-prepare 1 268.163659 268.163659 gnus-summary-prepare-threads 1 261.31438 261.31438 gnus-select-newsgroup 1 31.384321 31.384321 gnus-fetch-headers 1 30.020259 30.020259 gnus-get-newsgroup-headers-xover 1 29.773468 29.773468 gnus-possibly-score-headers 1 21.369475 21.369475 gnus-score-headers 1 21.368226 21.368226 gnus-score-string 1 20.866281999 20.866281999 gnus-summary-limit-children 53255 20.567338999 0.0003862048 gnus-summary-from-or-to-or-newsgroups 52944 11.471155999 0.0002166658 gnus-run-hooks 52951 10.163973000 0.0001919505 gnus-score-string< 500786 9.0681840000 1.810...e-05 gnus-extract-address-components 52944 8.7819879999 0.0001658731 gnus-sort-threads-1 32267 8.5337919999 0.0002644742 gnus-summary-highlight-line 52943 7.9408890000 0.0001499894 gnus-sort-threads 1 4.780121 4.780121 gnus-put-text-property 105891 3.8764590000 3.660...e-05 gnus-summary-initial-limit 1 3.856649 3.856649 gnus-put-text-property-excluding-characters-with-faces 52944 3.2309779999 6.102...e-05 gnus-make-threads 1 1.616146 1.616146 gnus-thread-sort-by-number 104481 1.5373799999 1.471...e-05 gnus-summary-remove-list-identifiers 1 0.489739 0.489739 gnus-retrieve-headers 2 0.4828179999 0.2414089999 gnus-gather-threads-by-subject 1 0.413676 0.413676 gnus-not-ignore 52922 0.3534540000 6.678...e-06 gnus-articles-to-read 1 0.329798 0.329798 gnus-uncompress-range 1 0.30818 0.30818 gnus-cache-retrieve-headers 1 0.241464 0.241464 gnus-agent-retrieve-headers 1 0.241275 0.241275 gnus-agent-get-undownloaded-list 1 0.095378 0.095378 gnus-thread-loop-p 41419 0.0928350000 2.241...e-06 gnus-summary-highlight-line-0 52943 0.0856470000 1.617...e-06 gnus-compute-unseen-list 1 0.032678 0.032678 gnus-inverse-list-range-intersection 1 0.032666 0.032666 gnus-list-range-difference 1 0.03265 0.03265 gnus-request-group 1 0.029065 0.029065 nntp-request-group 1 0.029011 0.029011 nntp-accept-process-output 30 0.028588 0.0009529333 gnus-agent-uncached-articles 1 0.02776 0.02776 gnus-summary-auto-select-subject 1 0.025996 0.025996 gnus-summary-first-unread-subject 1 0.025987 0.025987 gnus-summary-first-subject 1 0.025938 0.025938 Second example, entering my private inbox for this month, with one unread (spam), where the Group buffer claims 167 messages, but there is only 57 real messages in it (the nnimap-request-group function synchronize flags, and my server is on the other side of a slow network connection -- and still it only amounts to half the slowness): Function Name Call Count Elapsed Time Average Time ============================================================================ ========== ============ ============ gnus-topic-read-group 1 4.250069 4.250069 gnus-group-read-group 1 4.250028 4.250028 gnus-summary-read-group 1 4.249988 4.249988 gnus-summary-read-group-1 1 4.249978 4.249978 gnus-select-newsgroup 1 3.452546 3.452546 gnus-request-group 1 2.716559 2.716559 nnimap-request-group 1 2.716509 2.716509 nnimap-request-update-info-internal 1 2.716264 2.716264 gnus-retrieve-headers 3 2.109038 0.7030126666 gnus-summary-goto-article 1 0.765913 0.765913 gnus-summary-display-article 1 0.7658 0.7658 gnus-fetch-headers 1 0.73178 0.73178 gnus-article-prepare 1 0.721713 0.721713 gnus-cache-retrieve-headers 1 0.718945 0.718945 gnus-agent-retrieve-headers 1 0.718764 0.718764 gnus-request-article-this-buffer 1 0.70749 0.70749 gnus-request-article 1 0.702861 0.702861 nnimap-request-article 1 0.702816 0.702816 nnimap-request-article-part 1 0.702795 0.702795 nnimap-retrieve-headers 1 0.671219 0.671219 nnimap-retrieve-headers-from-server 1 0.67102 0.67102 gnus-run-hooks 72 0.046985 0.0006525694 gnus-agent-fetch-selected-article 1 0.043144 0.043144 gnus-agent-fetch-articles 1 0.042882 0.042882 gnus-agent-save-alist 2 0.0396129999 0.0198064999