Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: Gnus vs Wanderlust
Date: Sat, 05 Jun 2004 17:14:44 +0200	[thread overview]
Message-ID: <iluwu2mkpej.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87fz9acmo8.fsf@tc-1-100.kawasaki.gol.ne.jp>

Miles Bader <miles@gnu.org> writes:

> Simon Josefsson <jas@extundo.com> 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




  reply	other threads:[~2004-06-05 15:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-31 10:22 Miguel
2004-05-31 23:03 ` Katsumi Yamaoka
2004-06-01 12:41   ` Lloyd Zusman
2004-06-01 14:40     ` Katsumi Yamaoka
2004-06-01 22:47       ` Lloyd Zusman
2004-06-02 12:33         ` David Abrahams
2004-06-01 15:58 ` colin.rafferty
2004-06-01 22:35   ` Miles Bader
2004-06-01 23:41     ` Katsumi Yamaoka
2004-06-02  0:13       ` Miles Bader
2004-06-02 15:26     ` colin.rafferty
     [not found]       ` <vgvwu2q2d6m.wl-CC0PidyB7H7SDKTOTjYG+/RivMblJc010E9HWUfgJXw@public.gmane.org>
2004-06-02 17:21         ` Jochen Küpper
2004-06-03 16:39       ` Kai Grossjohann
2004-06-03 19:28         ` colin.rafferty
     [not found]         ` <vgvwu2o1lwc.wl@paias746.morganstanley.com>
2004-06-04  5:16           ` Kai Grossjohann
2004-06-03 23:26       ` Miles Bader
2004-06-03 23:39         ` Lloyd Zusman
2004-06-04  0:05         ` Jesper Harder
2004-06-04  0:16           ` Miles Bader
2004-06-04  9:41         ` Simon Josefsson
2004-06-04 16:43           ` Karl Chen
2004-06-04 19:24             ` Kai Grossjohann
2004-06-05 10:40           ` Miles Bader
2004-06-05 15:14             ` Simon Josefsson [this message]
2004-06-06 18:35               ` Karl Chen
2004-06-06 20:31                 ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluwu2mkpej.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).