Gnus development mailing list
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: ding@gnus.org
Subject: Re: Improving Gnus speed
Date: Mon, 15 Nov 2010 10:40:27 +0100	[thread overview]
Message-ID: <m239r2hqlw.fsf@gmail.com> (raw)
In-Reply-To: <m3y68vvqc1.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 14 Nov 2010 17:10:22 +0100")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Francis Moreau <francis.moro@gmail.com> writes:
>
>> If I do '/ o', then it shows me 1298 articles but I have to wait 25
>> secs.
>
> If you do an `M-x elp-instrument-package RET gnus RET', `/ o', and then
> `M-x elp-results', that should tell us what it's doing, I think.
>
> `M-x elp-results' clears out all the counters and stuff, so it's
> important that you don't do more than the single command between
> instrumenting and showing the result, or between each result set.

I think it's what I did.

Ok just to be sure, we're talking about the same thing, I'm going to
describe what currently is my config and the associated elp results.

Here's my config for my group caches:

       ("^nnml\\+cache"
         (display . all)
         (gnus-use-scoring nil)
         (gnus-thread-sort-functions '((not gnus-thread-sort-by-number))))

So I disabled entirely the scoring stuff since it takes a lot of time
and this is not really important in these kind of groups since they
store only important things (with equal scores).

Therefore, when I'm entering such group, most of the time is now spent
in the fetching process (not the sorting one).

For example, I have a group which contains 1298 articles. Entering it
lasts 9 seconds:

    - 7 secs in the fetching process
    - 2 secs in sorting + summary buffer generation

As you can see, the fetching process is now the annoying step, specially
since all articles for this group are cached so they're on my disk.

I'm giving you the elp results when entering in the group containing
1298 articles, with all articles displayed:

gnus-thread-total-score                                 21809       18.607898999  0.0008532211
gnus-thread-total-score-1                               21805       18.246756999  0.0008368152
gnus-topic-select-group                                 1           10.660905     10.660905
gnus-group-select-group                                 1           10.66085      10.66085
gnus-group-read-group                                   1           10.66084      10.66084
gnus-summary-read-group                                 1           10.660791     10.660791
gnus-summary-read-group-1                               1           10.660778     10.660778
gnus-select-newsgroup                                   1           7.674363      7.674363
gnus-fetch-headers                                      1           6.927848      6.927848
gnus-get-newsgroup-headers-xover                        1           6.78624       6.78624
gnus-summary-number-of-articles-in-thread               22361       3.2177489999  0.0001439000
gnus-summary-prepare                                    1           2.901636      2.901636
gnus-summary-prepare-threads                            1           2.881676      2.881676
gnus-dd-mmm                                             1301        0.9418810000  0.0007239669
gnus-articles-to-read                                   1           0.586238      0.586238
gnus-sorted-difference                                  3           0.268062      0.089354
gnus-summary-limit-children                             1297        0.2439169999  0.0001880624
gnus-id-to-thread                                       21805       0.1913100000  8.773...e-06
gnus-retrieve-headers                                   2           0.153315      0.0766575
gnus-cache-retrieve-headers                             1           0.138898      0.138898
gnus-sort-threads-recursive                             820         0.1360629999  0.0001659304
gnus-run-hooks                                          1310        0.0821950000  6.274...e-05
gnus-summary-highlight-line                             1301        0.0734670000  5.646...e-05
gnus-add-text-properties                                10416       0.0530739999  5.095...e-06
gnus-summary-maybe-hide-threads                         1           0.04941       0.04941
gnus-summary-hide-all-threads                           1           0.0494        0.0494
gnus-put-text-property-excluding-characters-with-faces  1303        0.0478549999  3.672...e-05
gnus-summary-next-thread                                44          0.047207      0.0010728863
gnus-summary-go-to-next-thread                          44          0.046881      0.0010654772
gnus-put-text-property                                  6540        0.0405520000  6.200...e-06
gnus-map-function                                       1325        0.0323199999  2.439...e-05
gnus-summary-from-or-to-or-newsgroups                   1301        0.0305190000  2.345...e-05
gnus-summary-hide-thread                                22          0.025443      0.0011565
gnus-extract-address-components                         1301        0.0206770000  1.589...e-05
gnus-summary-initial-limit                              1           0.015415      0.015415
gnus-killed-articles                                    1           0.013221      0.013221
gnus-simplify-whitespace                                1325        0.0102530000  7.738...e-06
gnus-make-threads                                       1           0.009472      0.009472
gnus-simplify-subject-re                                1325        0.0092170000  6.956...e-06
gnus-sort-threads                                       1           0.008926      0.008926
gnus-build-old-threads                                  1           0.008742      0.008742
gnus-update-missing-marks                               1           0.007904      0.007904
gnus-build-get-header                                   6           0.0077429999  0.0012904999
gnus-summary-setup-buffer                               1           0.006748      0.006748
gnus-summary-mode                                       1           0.005939      0.005939
gnus-uncompress-range                                   1           0.005137      0.005137
gnus-group-update-group                                 1           0.005086      0.005086
gnus-mode-line-buffer-identification                    3           0.005086      0.0016953333
gnus-update-summary-mark-positions                      2           0.00403       0.002015
gnus-summary-insert-line                                4           0.0038380000  0.0009595000
gnus-message                                            7           0.003665      0.0005235714




-- 
Francis



  reply	other threads:[~2010-11-15  9:40 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 12:35 Francis Moreau
2010-11-09 13:45 ` Didier Verna
2010-11-09 13:55   ` Francis Moreau
2010-11-09 14:00     ` Knut Anders Hatlen
2010-11-09 14:22       ` Steinar Bang
2010-11-09 14:29       ` Francis Moreau
2010-11-09 14:49         ` Richard Riley
2010-11-09 16:37           ` Didier Verna
2010-11-09 16:51             ` Richard Riley
2010-11-09 16:56               ` Steinar Bang
2010-11-09 17:12                 ` Richard Riley
2010-11-09 17:48                   ` Steinar Bang
2010-11-09 18:59                     ` Adam Sjøgren
2010-11-09 19:17                       ` Steinar Bang
2010-11-09 19:06                     ` Richard Riley
2010-11-09 14:49     ` Didier Verna
2010-11-09 15:27       ` Richard Riley
2010-11-09 15:42         ` Francis Moreau
2010-11-09 16:35         ` Didier Verna
2010-11-09 16:49           ` Richard Riley
2010-11-09 19:52           ` Francis Moreau
2010-11-09 20:48             ` Richard Riley
2010-11-09 15:04     ` Adam Sjøgren
2010-11-09 18:55 ` Lars Magne Ingebrigtsen
2010-11-09 19:58   ` Francis Moreau
2010-11-09 21:03     ` Andreas Schwab
2010-11-09 21:49       ` Ted Zlatanov
2010-11-09 22:45         ` Richard Riley
2010-11-10  8:49           ` Francis Moreau
2010-11-10 10:31             ` Francis Moreau
2010-11-10  9:39           ` Julien Danjou
2010-11-10 13:26             ` Ted Zlatanov
2010-11-10 13:28               ` Julien Danjou
2010-11-10 14:12               ` Richard Riley
2010-11-10 17:40                 ` Andreas Schwab
2010-11-10 13:38       ` Francis Moreau
2010-11-09 21:27   ` Lars Magne Ingebrigtsen
2010-11-10 14:16   ` Francis Moreau
2010-11-10 18:20     ` Lars Magne Ingebrigtsen
2010-11-11  8:14       ` Francis Moreau
2010-11-11 18:34         ` Lars Magne Ingebrigtsen
2010-11-11 19:54           ` Francis Moreau
2010-11-14 16:10             ` Lars Magne Ingebrigtsen
2010-11-15  9:40               ` Francis Moreau [this message]
2010-11-21  6:02                 ` Lars Magne Ingebrigtsen
2010-11-21 13:54                   ` Francis Moreau
2010-11-21 18:17                     ` Lars Magne Ingebrigtsen
2010-11-21 19:37                       ` Francis Moreau
2010-11-24 22:09                         ` Lars Magne Ingebrigtsen
2010-11-25  7:35                           ` Francis Moreau
2010-11-12 11:11       ` Francis Moreau
2010-11-14 16:11         ` Lars Magne Ingebrigtsen
2010-11-15  9:07           ` Francis Moreau
2010-11-21  5:44             ` Lars Magne Ingebrigtsen
2010-11-21 14:07               ` Francis Moreau
2010-11-10 18:21     ` Lars Magne Ingebrigtsen
2010-11-11  8:22       ` Francis Moreau
2010-11-11 18:33         ` Lars Magne Ingebrigtsen
2010-11-11 19:56           ` Francis Moreau
2010-11-14 16:10             ` Lars Magne Ingebrigtsen
2010-11-12 18:55     ` Dan Christensen
2010-11-12 20:07       ` Francis Moreau
2010-11-12 21:38         ` Dan Christensen
2010-11-13 20:46           ` Francis Moreau
2010-11-14  9:32             ` Francis Moreau
2010-11-29  0:40               ` Dan Christensen
2010-11-29  4:47                 ` Lars Magne Ingebrigtsen
2010-11-29  6:01                   ` Miles Bader
2010-11-29  6:18                     ` Lars Magne Ingebrigtsen
2010-11-29  6:36                       ` Lars Magne Ingebrigtsen
2010-11-29  6:40                       ` Daniel Pittman
2010-11-29  8:27                 ` Francis Moreau
2010-11-29 19:30                   ` Dan Christensen
2010-11-29 20:10                     ` Francis Moreau
2010-11-29 20:23                       ` Dan Christensen
2010-11-29 20:56                         ` Francis Moreau
2010-11-29 21:30                           ` Dan Christensen
2010-12-05 15:01                             ` Lars Magne Ingebrigtsen
2010-12-05 18:05                               ` Dan Christensen
2010-12-05 18:46                                 ` Lars Magne Ingebrigtsen
2010-11-14 16:13             ` Lars Magne Ingebrigtsen
2010-11-15  9:03               ` Francis Moreau
2010-11-21  5:43                 ` Lars Magne Ingebrigtsen
2010-11-21 14:39                   ` Francis Moreau
2010-11-14 16:14           ` Lars Magne Ingebrigtsen
2010-11-14 18:10             ` Dan Christensen
2010-11-14 18:26               ` Lars Magne Ingebrigtsen
2010-11-14 21:27                 ` Dan Christensen
2010-11-21  5:42                   ` Lars Magne Ingebrigtsen
2010-11-21 20:42                     ` Dan Christensen
2010-11-21 21:46                       ` Francis Moreau
2010-11-21 22:52                         ` Dan Christensen
2010-11-22  7:57                           ` Francis Moreau
2010-11-24 22:11                       ` Lars Magne Ingebrigtsen
2010-11-29  0:29                       ` Dan Christensen
2010-11-29  4:41                         ` Lars Magne Ingebrigtsen
2010-11-29 20:17                           ` Dan Christensen
2010-12-05 15:00                             ` Date parser in C (was: Improving Gnus speed) Lars Magne Ingebrigtsen
2010-12-05 17:27                               ` Andreas Schwab
2010-12-05 17:38                                 ` Date parser in C Lars Magne Ingebrigtsen
2010-11-09 21:47 ` Improving Gnus speed Ted Zlatanov
2010-11-09 22:55   ` Steinar Bang
2010-11-10  4:27 ` Eden Cardim

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=m239r2hqlw.fsf@gmail.com \
    --to=francis.moro@gmail.com \
    --cc=ding@gnus.org \
    /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).