From: Dave Abrahams <dave@boostpro.com>
To: ding@gnus.org
Subject: Slow "/ o"
Date: Sat, 10 Sep 2011 19:26:49 -0400 [thread overview]
Message-ID: <m28vpwrnba.fsf@pluto.luannocracy.com> (raw)
In this group with 2267 messages I did "/ o" and it took... well, a lot
longer than I expected. The elp profiling results are below. It looks
to my layman's eye like the bulk of the time goes into thread sorting.
Am I doing something wrong? Is my setting for
gnus-thread-sort-functions a particularly expensive one?
,----[ C-h v gnus-thread-sort-functions RET ]
| gnus-thread-sort-functions is a variable defined in `gnus-sum.el'.
| Its value is
| (gnus-thread-sort-by-number gnus-thread-sort-by-total-score gnus-thread-sort-by-most-recent-date)
| ...
`----
TIA,
Dave
--8<---------------cut here---------------start------------->8---
gnus-summary-insert-old-articles 1 20.704215 20.704215
gnus-summary-limit 1 17.11009 17.11009
gnus-summary-prepare 1 16.060398 16.060398
gnus-sort-threads-recursive 483 14.188688999 0.0293761677
gnus-sort-threads 1 12.962078 12.962078
gnus-thread-sort-by-most-recent-date 20703 12.916193999 0.0006238803
gnus-thread-latest-date 41406 12.849403999 0.0003103271
gnus-summary-insert-articles 1 3.591198 3.591198
gnus-fetch-headers 1 2.955209 2.955209
gnus-get-newsgroup-headers 1 2.504664 2.504664
gnus-summary-prepare-threads 1 2.132853 2.132853
gnus-dependencies-add-header 2252 1.5341679999 0.0006812468
gnus-parent-id 3774 1.3474319999 0.0003570302
gnus-summary-maybe-hide-threads 1 1.049279 1.049279
gnus-summary-hide-all-threads 1 1.049273 1.049273
gnus-summary-next-thread 2250 0.9634619999 0.0004282053
gnus-summary-go-to-next-thread 2250 0.9536989999 0.0004238662
gnus-retrieve-headers 2 0.8923490000 0.4461745000
gnus-sort-gathered-threads 1 0.741853 0.741853
gnus-thread-sort-by-date 922 0.7396150000 0.0008021854
gnus-article-sort-by-date 922 0.7353419999 0.0007975509
gnus-possibly-score-headers 1 0.479264 0.479264
gnus-score-headers 1 0.478875 0.478875
gnus-score-string 4 0.476486 0.1191215
gnus-cache-retrieve-headers 1 0.449973 0.449973
gnus-summary-hide-thread 1125 0.4340490000 0.0003858213
gnus-summary-highlight-line 2267 0.3753240000 0.0001655597
gnus-float-time 69720 0.2648429999 3.798...e-06
gnus-map-function 3946 0.2570210000 6.513...e-05
gnus-simplify-subject-fuzzy 3946 0.2455230000 6.222...e-05
gnus-user-date 2267 0.2363499999 0.0001042567
gnus-simplify-buffer-fuzzy 3947 0.1772579999 4.490...e-05
gnus-simplify-subject-fully 2267 0.1597300000 7.045...e-05
gnus-merge 1 0.150558 0.150558
gnus-article-sort-by-number 2338 0.1470000000 6.287...e-05
gnus-put-text-property 6801 0.1441860000 2.120...e-05
gnus-put-text-property-excluding-characters-with-faces 2267 0.1415390000 6.243...e-05
gnus-gather-threads-by-subject 1 0.1268350000 0.1268350000
gnus-general-simplify-subject 1679 0.1089279999 6.487...e-05
gnus-run-hooks 3 0.0890519999 0.0296839999
gnus-simplify-buffer-fuzzy-step 37456 0.0849310000 2.267...e-06
gnus-summary-goto-subject 1126 0.0610150000 5.418...e-05
gnus-summary-from-or-to-or-newsgroups 2267 0.0433330000 1.911...e-05
gnus-score-string< 83133 0.0412180000 4.958...e-07
gnus-tree-highlight-article 2267 0.0319850000 1.410...e-05
gnus-seconds-year 1853 0.0263990000 1.424...e-05
gnus-summary-extract-address-component 2267 0.0256280000 1.130...e-05
gnus-extract-address-components 2267 0.0203800000 8.989...e-06
gnus-get-tree-buffer 2267 0.0175919999 7.760...e-06
gnus-set-work-buffer 3946 0.0142850000 3.620...e-06
gnus-seconds-today 4517 0.0100790000 2.231...e-06
gnus-thread-sort-by-total-score 158 0.0095230000 6.027...e-05
gnus-summary-position-point 1128 0.0092770000 8.224...e-06
gnus-thread-total-score 318 0.0090630000 2.850...e-05
gnus-thread-total-score-1 318 0.0083579999 2.628...e-05
gnus-make-threads 1 0.007517 0.007517
gnus-goto-colon 1128 0.0072149999 6.396...e-06
gnus-get-buffer-create 2269 0.0065020000 2.865...e-06
gnus-summary-set-article-display-arrow 1126 0.0060489999 5.372...e-06
gnus-cache-braid-heads 1 0.005093 0.005093
gnus-seconds-month 1977 0.0039359999 1.990...e-06
gnus-sorted-nunion 3 0.0037949999 0.0012649999
gnus-sorted-difference 2 0.002796 0.001398
gnus-thread-loop-p 588 0.0022010000 3.743...e-06
gnus-ignored-from-addresses 2267 0.0016869999 7.441...e-07
gnus-tree-article-region 2267 0.0016069999 7.088...e-07
gnus-message 8 0.001541 0.000192625
gnus-thread-sort-by-number 79 0.0014259999 1.805...e-05
gnus-summary-highlight-line-0 2267 0.0012649999 5.580...e-07
gnus-sorted-nintersection 1 0.001201 0.001201
gnus-compress-sequence 1 0.001197 0.001197
gnus-group-find-parameter 14 0.000997 7.121...e-05
gnus-sorted-intersection 1 0.000928 0.000928
gnus-group-fast-parameter 14 0.0008929999 6.378...e-05
gnus-group-topic-parameters 14 0.000814 5.814...e-05
gnus-uncompress-range 1 0.000799 0.000799
gnus-id-to-thread 318 0.0007020000 2.207...e-06
gnus-remove-overlays 307 0.0006150000 2.003...e-06
gnus-group-goto-group 14 0.000429 3.064...e-05
gnus-parameter-ham-marks 5 0.0003979999 7.96e-05
gnus-all-score-files 1 0.000384 0.000384
gnus-score-set 405 0.0003760000 9.283...e-07
gnus-parameter-spam-marks 5 0.0003459999 6.919...e-05
gnus-make-sort-function 1 0.000319 0.000319
gnus-last-element 1 0.000314 0.000314
gnus-byte-compile 1 0.000259 0.000259
gnus-make-overlay 307 0.0002459999 8.013...e-07
gnus-cache-articles-in-group 1 0.000239 0.000239
gnus-overlay-put 614 0.0002369999 3.859...e-07
gnus-topic-hierarchical-parameters 14 0.0001979999 1.414...e-05
gnus-score-load-files 1 0.000197 0.000197
gnus-score-load-file 4 0.0001870000 4.675...e-05
gnus-set-mode-line 1 0.000173 0.000173
gnus-score-find-hierarchical 1 0.000154 0.000154
gnus-cache-file-name 3 0.00014 4.666...e-05
gnus-score-file-name 4 0.000125 3.125e-05
gnus-summary-remove-list-identifiers 1 0.00011 0.00011
gnus-group-get-list-identifiers 1 0.000106 0.000106
gnus-parameter-list-identifier 1 0.000103 0.000103
gnus-range-difference 1 8.7e-05 8.7e-05
gnus-mode-line-buffer-identification 1 8.4e-05 8.4e-05
gnus-current-topics 14 7.7e-05 5.5e-06
gnus-make-sort-function-1 3 7.500...e-05 2.5e-05
gnus-set-global-variables 2 7.099...e-05 3.549...e-05
gnus-emacs-version 1 7e-05 7e-05
gnus-parameter-spam-contents 1 6.5e-05 6.5e-05
gnus-current-topic 14 5.399...e-05 3.857...e-06
gnus-topic-parent-topic 28 5.399...e-05 1.928...e-06
gnus-topic-parameters 14 4.499...e-05 3.214...e-06
gnus-group-decoded-name 2 3e-05 1.5e-05
gnus-range-length 1 2.7e-05 2.7e-05
gnus-list-of-unread-articles 1 2.6e-05 2.6e-05
gnus-group-parameter-value 14 1.900...e-05 1.357...e-06
gnus-group-name-charset 2 1.7e-05 8.5e-06
gnus-mode-string-quote 1 1.6e-05 1.6e-05
gnus-cut-threads 1 1.6e-05 1.6e-05
gnus-group-get-parameter 14 1.500...e-05 1.071...e-06
gnus-topic-find-topology 14 1.400...e-05 1.000...e-06
gnus-group-real-prefix 1 1.4e-05 1.4e-05
gnus-replace-in-string 1 1.3e-05 1.3e-05
gnus-get-function 1 1.2e-05 1.2e-05
gnus-find-method-for-group 5 1.1e-05 2.2e-06
gnus-make-hashtable 1 1.1e-05 1.1e-05
gnus-short-group-name 1 1e-05 1e-05
gnus-agent-get-undownloaded-list 1 1e-05 1e-05
gnus-cache-decoded-group-name 3 6e-06 2e-06
gnus-newsgroup-savable-name 2 4.999...e-06 2.499...e-06
gnus-buffer-live-p 3 4e-06 1.333...e-06
gnus-online 2 4e-06 2e-06
gnus-agent-get-function 1 3e-06 3e-06
gnus-create-hash-size 1 3e-06 3e-06
gnus-use-long-file-name 5 3e-06 6e-07
gnus-cache-update-active 2 3e-06 1.5e-06
gnus-score-find-alist 1 2e-06 2e-06
gnus-agent-method-p 2 2e-06 1e-06
gnus-home-score-file 2 2e-06 1e-06
gnus-range-normalize 2 2e-06 1e-06
gnus-group-name-decode 2 2e-06 1e-06
gnus-visual-p 1 1e-06 1e-06
gnus-cache-save-buffers 1 1e-06 1e-06
--8<---------------cut here---------------end--------------->8---
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
next reply other threads:[~2011-09-10 23:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 23:26 Dave Abrahams [this message]
2011-09-10 23:28 ` Lars Magne Ingebrigtsen
2011-09-10 23:55 ` Dave Abrahams
2011-09-11 0:02 ` Lars Magne Ingebrigtsen
2011-09-11 10:14 ` Dave Abrahams
2011-09-11 11:49 ` Dave Abrahams
2011-09-12 4:26 ` Lars Magne Ingebrigtsen
2011-09-12 18:23 ` Dave Abrahams
2011-09-14 6:17 ` Peter Münster
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=m28vpwrnba.fsf@pluto.luannocracy.com \
--to=dave@boostpro.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).