Gnus development mailing list
 help / color / mirror / Atom feed
* Slow "/ o"
@ 2011-09-10 23:26 Dave Abrahams
  2011-09-10 23:28 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Abrahams @ 2011-09-10 23:26 UTC (permalink / raw)
  To: ding


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




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-10 23:26 Slow "/ o" Dave Abrahams
@ 2011-09-10 23:28 ` Lars Magne Ingebrigtsen
  2011-09-10 23:55   ` Dave Abrahams
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-10 23:28 UTC (permalink / raw)
  To: Dave Abrahams; +Cc: ding

Dave Abrahams <dave@boostpro.com> writes:

> 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?

Does `2267 RET' on the group take as long as `/ o'?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-10 23:28 ` Lars Magne Ingebrigtsen
@ 2011-09-10 23:55   ` Dave Abrahams
  2011-09-11  0:02     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Abrahams @ 2011-09-10 23:55 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: ding


on Sat Sep 10 2011, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:

> Dave Abrahams <dave@boostpro.com> writes:
>
>> 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?
>
> Does `2267 RET' on the group take as long as `/ o'?

It's slightly faster.  It's roughly 20 seconds to do `/ o' and 17 for
`2267 RET'

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-10 23:55   ` Dave Abrahams
@ 2011-09-11  0:02     ` Lars Magne Ingebrigtsen
  2011-09-11 10:14       ` Dave Abrahams
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11  0:02 UTC (permalink / raw)
  To: ding

Dave Abrahams <dave@boostpro.com> writes:

> It's slightly faster.  It's roughly 20 seconds to do `/ o' and 17 for
> `2267 RET'

That's really slow.  It takes about three seconds for me.

Try switching off your thread sorting customisations to see whether they
are the problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-11  0:02     ` Lars Magne Ingebrigtsen
@ 2011-09-11 10:14       ` Dave Abrahams
  2011-09-11 11:49         ` Dave Abrahams
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Abrahams @ 2011-09-11 10:14 UTC (permalink / raw)
  To: ding


on Sat Sep 10 2011, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:

> Dave Abrahams <dave@boostpro.com> writes:
>
>> It's slightly faster.  It's roughly 20 seconds to do `/ o' and 17 for
>> `2267 RET'
>
> That's really slow.  It takes about three seconds for me.
>
> Try switching off your thread sorting customisations to see whether they
> are the problem.

Now it's down to about 11 seconds for `/ o' and 8 for `2267 RET'.

elp results for `2267 RET' follow.  Note that this is accessing a local
dovecot on a pretty fast core i7 machine with SSD.

--8<---------------cut here---------------start------------->8---
gnus-topic-select-group                                                       1           9.709191      9.709191
gnus-group-select-group                                                       1           9.709167      9.709167
gnus-group-read-group                                                         1           9.709161      9.709161
gnus-summary-read-group                                                       1           9.70914       9.70914
gnus-summary-read-group-1                                                     1           9.709134      9.709134
gnus-summary-prepare                                                          1           5.13557       5.13557
gnus-summary-prepare-threads                                                  1           4.257619      4.257619
gnus-select-newsgroup                                                         1           2.998561      2.998561
gnus-user-date                                                                1953        2.8510479999  0.0014598300
gnus-fetch-headers                                                            1           2.813119      2.813119
gnus-get-newsgroup-headers                                                    1           2.4557320000  2.4557320000
gnus-summary-maybe-hide-threads                                               1           0.932072      0.932072
gnus-summary-hide-all-threads                                                 1           0.9320660000  0.9320660000
gnus-dependencies-add-header                                                  2085        0.8682129999  0.0004164091
gnus-parent-id                                                                3479        0.8054690000  0.0002315231
gnus-summary-hide-thread                                                      1042        0.7376189999  0.0007078877
gnus-retrieve-headers                                                         2           0.705793      0.3528965
gnus-possibly-score-headers                                                   1           0.555259      0.555259
gnus-score-headers                                                            1           0.55486       0.55486
gnus-score-string                                                             4           0.530509      0.13262725
gnus-sort-threads-recursive                                                   437         0.5213369999  0.0011929908
gnus-sort-threads                                                             1           0.5137689999  0.5137689999
gnus-thread-sort-by-number                                                    12141       0.5051390000  4.160...e-05
gnus-article-sort-by-number                                                   12141       0.4575220000  3.768...e-05
gnus-summary-next-thread                                                      2084        0.3784909999  0.0001816175
gnus-summary-go-to-next-thread                                                2084        0.3695770000  0.0001773402
gnus-summary-goto-subject                                                     1042        0.3693780000  0.0003544894
gnus-cache-retrieve-headers                                                   1           0.356515      0.356515
gnus-map-function                                                             3651        0.2655839999  7.274...e-05
gnus-simplify-subject-fuzzy                                                   3651        0.2542299999  6.963...e-05
gnus-summary-highlight-line                                                   1953        0.2440429999  0.0001249580
gnus-summary-from-or-to-or-newsgroups                                         1953        0.2053359999  0.0001051387
gnus-seconds-today                                                            3901        0.1943820000  4.982...e-05
gnus-summary-extract-address-component                                        1953        0.1871180000  9.581...e-05
gnus-simplify-buffer-fuzzy                                                    3652        0.1716219999  4.699...e-05
gnus-simplify-subject-fully                                                   2085        0.1683659999  8.075...e-05
gnus-articles-to-read                                                         1           0.165022      0.165022
gnus-summary-set-article-display-arrow                                        1042        0.1638350000  0.0001572312
gnus-killed-articles                                                          1           0.162983      0.162983
gnus-make-threads                                                             1           0.160207      0.160207
gnus-member-of-range                                                          2466        0.1577450000  6.396...e-05
gnus-gather-threads-by-subject                                                1           0.125682      0.125682
gnus-general-simplify-subject                                                 1566        0.1084210000  6.923...e-05
gnus-simplify-buffer-fuzzy-step                                               34658       0.0824680000  2.379...e-06
gnus-configure-frame                                                          12          0.082203      0.00685025
gnus-run-hooks                                                                11          0.0663        0.0060272727
gnus-configure-windows                                                        2           0.051042      0.025521
gnus-summary-limit-children                                                   2085        0.0446960000  2.143...e-05
gnus-score-string<                                                            75745       0.0397270000  5.244...e-07
gnus-seconds-year                                                             1623        0.0307359999  1.893...e-05
gnus-summary-initial-limit                                                    1           0.03029       0.03029
gnus-set-work-buffer                                                          3658        0.0263580000  7.205...e-06
gnus-score-load-files                                                         1           0.021652      0.021652
gnus-score-load-file                                                          4           0.0216340000  0.0054085000
gnus-score-load-score-alist                                                   2           0.0213049999  0.0106524999
gnus-extract-address-components                                               1953        0.0213010000  1.090...e-05
gnus-put-text-property                                                        5864        0.0194639999  3.319...e-06
gnus-put-text-property-excluding-characters-with-faces                        1955        0.0169229999  8.656...e-06
gnus-sort-gathered-threads                                                    1           0.012324      0.012324
gnus-summary-position-point                                                   1047        0.0086950000  8.304...e-06
gnus-goto-colon                                                               1047        0.0067909999  6.486...e-06
gnus-cache-braid-heads                                                        1           0.004589      0.004589
gnus-seconds-month                                                            1724        0.0039009999  2.262...e-06
gnus-compute-unseen-list                                                      1           0.003318      0.003318
gnus-inverse-list-range-intersection                                          1           0.003314      0.003314
gnus-list-range-difference                                                    1           0.003307      0.003307
gnus-sorted-difference                                                        3           0.003246      0.001082
gnus-summary-setup-buffer                                                     1           0.002482      0.002482
gnus-message                                                                  9           0.0023430000  0.0002603333
gnus-summary-mode                                                             1           0.002312      0.002312
gnus-thread-loop-p                                                            519         0.002237      4.310...e-06
gnus-float-time                                                               3906        0.0021369999  5.471...e-07
gnus-group-find-parameter                                                     23          0.0018490000  8.039...e-05
gnus-ignored-from-addresses                                                   1953        0.0016939999  8.673...e-07
gnus-group-topic-parameters                                                   23          0.001451      6.308...e-05
gnus-group-fast-parameter                                                     20          0.0014049999  7.024...e-05
gnus-summary-highlight-line-0                                                 1953        0.0012239999  6.267...e-07
gnus-compress-sequence                                                        1           0.001102      0.001102
gnus-summary-set-display-table                                                1           0.001073      0.001073
gnus-sorted-nintersection                                                     1           0.001023      0.001023
gnus-update-missing-marks                                                     1           0.000992      0.000992
gnus-group-update-group                                                       1           0.000905      0.000905
gnus-sorted-intersection                                                      1           0.000834      0.000834
gnus-summary-auto-select-subject                                              1           0.000833      0.000833
gnus-group-goto-group                                                         24          0.000797      3.320...e-05
gnus-tree-open                                                                1           0.000793      0.000793
gnus-get-tree-buffer                                                          1           0.000789      0.000789
gnus-uncompress-range                                                         1           0.000781      0.000781
gnus-tree-mode                                                                1           0.000753      0.000753
gnus-summary-first-subject                                                    2           0.000701      0.0003505
gnus-update-summary-mark-positions                                            1           0.000625      0.000625
gnus-cache-articles-in-group                                                  1           0.000583      0.000583
gnus-remove-overlays                                                          267         0.0005790000  2.168...e-06
gnus-set-format                                                               2           0.000552      0.000276
gnus-article-setup-buffer                                                     1           0.000529      0.000529
gnus-parse-format                                                             2           0.0005149999  0.0002574999
gnus-group-insert-group-line-info                                             1           0.000487      0.000487
gnus-summary-insert-line                                                      2           0.000486      0.000243
gnus-last-element                                                             1           0.000454      0.000454
gnus-group-insert-group-line                                                  1           0.000453      0.000453
gnus-adjust-marked-articles                                                   1           0.000401      0.000401
gnus-all-score-files                                                          1           0.000392      0.000392
gnus-complex-form-to-spec                                                     2           0.00039       0.000195
gnus-parameter-ham-marks                                                      4           0.000384      9.6e-05
gnus-score-check-syntax                                                       1           0.000373      0.000373
gnus-update-format-specifications                                             3           0.0003720000  0.000124
gnus-score-set                                                                411         0.0003590000  8.734...e-07
gnus-parameter-spam-marks                                                     4           0.000343      8.575e-05
gnus-topic-hierarchical-parameters                                            23          0.0003410000  1.482...e-05
gnus-parse-simple-format                                                      4           0.0003270000  8.175...e-05
gnus-parse-complex-format                                                     1           0.000292      0.000292
gnus-group-highlight-line                                                     1           0.000258      0.000258
gnus-make-overlay                                                             266         0.0002489999  9.360...e-07
gnus-overlay-put                                                              532         0.0002399999  4.511...e-07
gnus-group-update-eval-form                                                   1           0.000238      0.000238
gnus-group-timestamp-delta                                                    1           0.000212      0.000212
gnus-summary-set-local-parameters                                             2           0.00021       0.000105
gnus-article-mode                                                             1           0.000183      0.000183
gnus-set-mode-line                                                            1           0.000182      0.000182
gnus-apply-kill-file                                                          1           0.000176      0.000176
gnus-all-windows-visible-p                                                    2           0.000175      8.75e-05
gnus-summary-setup-default-charset                                            1           0.00017       0.00017
gnus-cache-file-name                                                          3           0.000163      5.433...e-05
gnus-run-mode-hooks                                                           3           0.000162      5.400...e-05
gnus-score-find-hierarchical                                                  1           0.00015       0.00015
gnus-continuum-version                                                        6           0.0001449999  2.416...e-05
gnus-score-file-name                                                          4           0.000133      3.325e-05
gnus-set-global-variables                                                     4           0.000128      3.2e-05
gnus-group-auto-expirable-p                                                   1           0.000126      0.000126
gnus-mode-line-buffer-identification                                          2           0.000126      6.3e-05
gnus-current-topics                                                           23          0.000125      5.434...e-06
gnus-summary-remove-list-identifiers                                          1           0.000121      0.000121
gnus-group-get-list-identifiers                                               1           0.000117      0.000117
gnus-summary-show-thread                                                      1           0.000116      0.000116
gnus-get-buffer-create                                                        12          0.0001159999  9.666...e-06
gnus-parameter-list-identifier                                                1           0.000114      0.000114
gnus-article-setup-highlight-words                                            1           0.000107      0.000107
gnus-tree-node-insert                                                         1           0.000106      0.000106
gnus-emacs-version                                                            2           0.0001030000  5.150...e-05
gnus-topic-update-topics-containing-group                                     1           0.000103      0.000103
gnus-get-buffer-window                                                        5           0.0001029999  2.059...e-05
gnus-parameter-spam-autodetect                                                1           9.1e-05       9.1e-05
gnus-topic-update-topic-line                                                  1           9.1e-05       9.1e-05
gnus-parameters-get-parameter                                                 3           8.999...e-05  2.999...e-05
gnus-topic-parent-topic                                                       48          8.899...e-05  1.854...e-06
gnus-summary-make-local-variables                                             2           8.6e-05       4.3e-05
gnus-group-decoded-name                                                       7           8.5e-05       1.214...e-05
gnus-parameter-charset                                                        1           8.4e-05       8.4e-05
gnus-current-topic                                                            24          8.000...e-05  3.333...e-06
gnus-request-group                                                            1           8e-05         8e-05
gnus-newsgroup-kill-file                                                      2           7.999...e-05  3.999...e-05
gnus-topic-parameters                                                         23          7.9e-05       3.434...e-06
gnus-tree-highlight-node                                                      1           7.9e-05       7.9e-05
gnus-parameter-ignored-charsets                                               1           7.8e-05       7.8e-05
gnus-agent-find-parameter                                                     1           7.6e-05       7.6e-05
gnus-make-hashtable                                                           2           7.1e-05       3.55e-05
gnus-parameter-spam-autodetect-methods                                        1           6.8e-05       6.8e-05
gnus-parameter-spam-contents                                                  1           6.8e-05       6.8e-05
gnus-summary-make-tool-bar                                                    1           6.3e-05       6.3e-05
gnus-cut-threads                                                              1           4.9e-05       4.9e-05
gnus-agent-mode                                                               1           4.9e-05       4.9e-05
gnus-group-name-charset                                                       9           4.800...e-05  5.333...e-06
gnus-group-set-mode-line                                                      1           4.7e-05       4.7e-05
gnus-buffer-live-p                                                            11          4.599...e-05  4.181...e-06
gnus-group-set-timestamp                                                      1           4.5e-05       4.5e-05
gnus-group-get-parameter                                                      28          4.400...e-05  1.571...e-06
gnus-group-parameter-value                                                    26          4.4e-05       1.692...e-06
gnus-summary-buffer-name                                                      3           4.200...e-05  1.400...e-05
gnus-pad-form                                                                 1           4.2e-05       4.2e-05
gnus-group-set-parameter                                                      1           4.1e-05       4.1e-05
gnus-tilde-max-form                                                           1           4e-05         4e-05
gnus-topic-insert-topic-line                                                  1           3.8e-05       3.8e-05
gnus-check-server                                                             1           3.6e-05       3.6e-05
gnus-get-function                                                             3           3.5e-05       1.166...e-05
gnus-list-of-unread-articles                                                  2           3.4e-05       1.7e-05
gnus-server-opened                                                            1           3.2e-05       3.2e-05
gnus-group-set-info                                                           1           3.1e-05       3.1e-05
gnus-find-method-for-group                                                    18          2.800...e-05  1.555...e-06
gnus-group-group-indentation                                                  2           2.200...e-05  1.100...e-05
gnus-topic-find-topology                                                      24          2.100...e-05  8.750...e-07
gnus-server-get-method                                                        2           2.1e-05       1.05e-05
gnus-summary-make-menu-bar                                                    1           1.8e-05       1.8e-05
gnus-mode-string-quote                                                        1           1.7e-05       1.7e-05
gnus-mouse-face-function                                                      1           1.7e-05       1.7e-05
gnus-agent-get-undownloaded-list                                              1           1.7e-05       1.7e-05
gnus-article-mark-to-type                                                     19          1.600...e-05  8.421...e-07
gnus-topic-find-groups                                                        1           1.6e-05       1.6e-05
gnus-topic-group-indentation                                                  1           1.6e-05       1.6e-05
gnus-remove-if                                                                5           1.499...e-05  2.999...e-06
gnus-frames-on-display-list                                                   5           1.300...e-05  2.6e-06
gnus-window-to-buffer-helper                                                  11          1.3e-05       1.181...e-06
gnus-replace-in-string                                                        1           1.3e-05       1.3e-05
gnus-update-read-articles                                                     1           1.3e-05       1.3e-05
gnus-turn-off-edit-menu                                                       1           1.2e-05       1.2e-05
gnus-group-topic-p                                                            1           1.2e-05       1.2e-05
gnus-undo-boundary                                                            6           1.199...e-05  2e-06
gnus-agent-get-function                                                       3           1.1e-05       3.666...e-06
gnus-simplify-mode-line                                                       3           1.1e-05       3.666...e-06
gnus-group-quit-config                                                        2           1.1e-05       5.5e-06
gnus-visual-p                                                                 8           1e-05         1.25e-06
gnus-short-group-name                                                         1           9e-06         9e-06
gnus-summary--inv                                                             2           9e-06         4.5e-06
gnus-cache-decoded-group-name                                                 3           9e-06         3e-06
gnus-topic-goto-topic                                                         3           8.000...e-06  2.666...e-06
gnus-newsgroup-savable-name                                                   3           8e-06         2.666...e-06
gnus-create-hash-size                                                         2           8e-06         4e-06
gnus-add-text-properties                                                      4           8e-06         2e-06
gnus-group-topic-name                                                         1           7e-06         7e-06
gnus-agent-possibly-alter-active                                              1           7e-06         7e-06
gnus-group-timestamp                                                          1           7e-06         7e-06
gnus-use-long-file-name                                                       6           6.999...e-06  1.166...e-06
gnus-ephemeral-group-p                                                        1           6e-06         6e-06
gnus-online                                                                   4           5.999...e-06  1.499...e-06
gnus-virtual-group-p                                                          1           5e-06         5e-06
gnus-group-name-decode                                                        9           4.999...e-06  5.555...e-07
gnus-group-group-name                                                         1           4e-06         4e-06
gnus-cache-update-active                                                      2           4e-06         2e-06
gnus-group-topic-unread                                                       2           3e-06         1.5e-06
gnus-group-topic-level                                                        2           3e-06         1.5e-06
gnus-make-sort-function                                                       1           3e-06         3e-06
gnus-agent-method-p                                                           3           3e-06         1e-06
gnus-copy-sequence                                                            1           3e-06         3e-06
gnus-server-status                                                            1           3e-06         3e-06
gnus-score-find-alist                                                         1           2e-06         2e-06
gnus-group-category                                                           1           2e-06         2e-06
gnus-home-score-file                                                          2           2e-06         1e-06
gnus-group-remove-parameter                                                   1           2e-06         2e-06
gnus-sorted-ndifference                                                       2           2e-06         1e-06
gnus-article-make-menu-bar                                                    1           2e-06         2e-06
gnus-range-length                                                             2           2e-06         1e-06
gnus-set-default-directory                                                    2           2e-06         1e-06
gnus-group-real-prefix                                                        1           2e-06         2e-06
gnus-make-thread-indent-array                                                 1           2e-06         2e-06
gnus-string-width-function                                                    2           1e-06         5e-07
gnus-make-local-hook                                                          1           1e-06         1e-06
gnus-substring-function                                                       1           1e-06         1e-06
gnus-extent-start-open                                                        1           1e-06         1e-06
gnus-cache-save-buffers                                                       1           1e-06         1e-06
gnus-group-get-icon                                                           1           1e-06         1e-06
gnus-range-normalize                                                          1           1e-06         1e-06
gnus-topic-update-unreads                                                     1           1e-06         1e-06
gnus-tree-make-menu-bar                                                       1           1e-06         1e-06
gnus-topic-unread                                                             1           1e-06         1e-06
gnus-agent-summary-make-menu-bar                                              1           0.0           0.0
gnus-topic-visible-p                                                          1           0.0           0.0
--8<---------------cut here---------------end--------------->8---

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-11 10:14       ` Dave Abrahams
@ 2011-09-11 11:49         ` Dave Abrahams
  2011-09-12  4:26           ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Abrahams @ 2011-09-11 11:49 UTC (permalink / raw)
  To: ding


on Sun Sep 11 2011, Dave Abrahams <dave-AT-boostpro.com> wrote:

> on Sat Sep 10 2011, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:
>
>> Dave Abrahams <dave@boostpro.com> writes:
>>
>>> It's slightly faster.  It's roughly 20 seconds to do `/ o' and 17 for
>>> `2267 RET'
>>
>> That's really slow.  It takes about three seconds for me.
>>
>> Try switching off your thread sorting customisations to see whether they
>> are the problem.
>
> Now it's down to about 11 seconds for `/ o' and 8 for `2267 RET'.
>
> elp results for `2267 RET' follow.  Note that this is accessing a local
> dovecot on a pretty fast core i7 machine with SSD.

Weird.  With a fresh emacs invocation, it's 4 seconds with all the
sorting in place.  

hating-non-reproducible-behaviors-ly y'rs,
Dave

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-11 11:49         ` Dave Abrahams
@ 2011-09-12  4:26           ` Lars Magne Ingebrigtsen
  2011-09-12 18:23             ` Dave Abrahams
  0 siblings, 1 reply; 9+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-12  4:26 UTC (permalink / raw)
  To: Dave Abrahams; +Cc: ding

Dave Abrahams <dave@boostpro.com> writes:

> Weird.  With a fresh emacs invocation, it's 4 seconds with all the
> sorting in place.  

My guess would be that you have bits and pieces of an uncompiled Gnus in
your Emacs.  Gnus, uncompiled, is s-l-o-w.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-12  4:26           ` Lars Magne Ingebrigtsen
@ 2011-09-12 18:23             ` Dave Abrahams
  2011-09-14  6:17               ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Abrahams @ 2011-09-12 18:23 UTC (permalink / raw)
  To: ding


on Mon Sep 12 2011, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:

> Dave Abrahams <dave@boostpro.com> writes:
>
>> Weird.  With a fresh emacs invocation, it's 4 seconds with all the
>> sorting in place.  
>
> My guess would be that you have bits and pieces of an uncompiled Gnus in
> your Emacs.  Gnus, uncompiled, is s-l-o-w.

I think the cause of the problem was worse than that; much, much worse.
Really, you don't want to know.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Slow "/ o"
  2011-09-12 18:23             ` Dave Abrahams
@ 2011-09-14  6:17               ` Peter Münster
  0 siblings, 0 replies; 9+ messages in thread
From: Peter Münster @ 2011-09-14  6:17 UTC (permalink / raw)
  To: ding

On Mon, Sep 12 2011, Dave Abrahams wrote:

> I think the cause of the problem was worse than that; much, much worse.
> Really, you don't want to know.

At least I do! ;)  (just curious)

-- 
           Peter




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-14  6:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-10 23:26 Slow "/ o" Dave Abrahams
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

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).