Gnus development mailing list
 help / color / mirror / Atom feed
* ELP results for entering the Gnus list (~10 seconds elapsed time :)
@ 2002-01-29  2:13 Daniel Pittman
  2002-01-29  2:39 ` ShengHuo ZHU
  2002-01-29  5:45 ` ShengHuo ZHU
  0 siblings, 2 replies; 8+ messages in thread
From: Daniel Pittman @ 2002-01-29  2:13 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

The attached ELP results are for all for 'gnus' and 'nn', entering the
list folder.

It had one new message, together with the 36 ticked articles, some three
years old.

] wc ~/Mail/xemacs.gnus/.overview
  11308  324899 4232310 /home/daniel/Mail/xemacs.gnus/.overview
] wc ~/Mail/xemacs.gnus/.marks
      1     130     776 /home/daniel/Mail/xemacs.gnus/.marks

This is Gnus "Built at Sun Jan 27 15:07:21 EST 2002" from CVS.

Mobile P2-400, 288MB RAM. The CPU runs at 100% for nine or ten seconds
when entering the list under these conditions.

Maybe this will help identify some hot spot for this sort of group. :)

        Daniel


[-- Attachment #2: Type: text/plain, Size: 16990 bytes --]

Function Name                                           Call Count  Elapsed Time  Average Time
======================================================  ==========  ============  ============
gnus-group-read-group                                   1           9.506698      9.506698
gnus-summary-read-group                                 1           9.5063650000  9.5063650000
gnus-summary-read-group-1                               1           9.506333      9.506333
gnus-select-newsgroup                                   1           8.6495510000  8.6495510000
gnus-fetch-headers                                      1           8.640656      8.640656
gnus-get-newsgroup-headers-xover                        1           7.906612      7.906612
gnus-retrieve-headers                                   2           1.459674      0.7298370000
gnus-cache-retrieve-headers                             1           0.730756      0.730756
nnml-retrieve-headers                                   1           0.728725      0.728725
nnml-retrieve-headers-with-nov                          1           0.726593      0.726593
gnus-summary-prepare                                    1           0.524461      0.524461
gnus-summary-prepare-threads                            1           0.433399      0.433399
nnheader-insert-file-contents                           1           0.373849      0.373849
nnheader-nov-delete-outside-range                       1           0.351383      0.351383
nnheader-find-nov-line                                  2           0.288619      0.1443095
gnus-user-format-function-b                             39          0.2838479999  0.0072781538
gnus-possibly-score-headers                             1           0.242414      0.242414
gnus-all-score-files                                    1           0.193411      0.193411
gnus-score-find-bnews                                   1           0.191347      0.191347
gnus-sort-threads                                       1           0.0823220000  0.0823220000
gnus-sort-threads-1                                     2           0.0788499999  0.0394249999
gnus-thread-sort-by-date                                208         0.0744789999  0.0003580721
gnus-run-hooks                                          45          0.0633590000  0.0014079777
gnus-summary-setup-buffer                               1           0.061449      0.061449
gnus-multi-decode-encoded-word-string                   74          0.0607709999  0.0008212297
gnus-summary-mode                                       1           0.059158      0.059158
gnus-simplify-subject-fuzzy                             72          0.049974      0.0006940833
gnus-score-headers                                      1           0.048948      0.048948
gnus-xmas-menu-add-1                                    2           0.04608       0.02304
gnus-xmas-summary-menu-add                              1           0.038004      0.038004
gnus-score-string                                       4           0.036358      0.0090895
gnus-correct-length                                     156         0.027302      0.0001750128
gnus-score-score-files                                  1           0.01866       0.01866
gnus-summary-from-or-to-or-newsgroups                   39          0.01599       0.0004100000
gnus-update-summary-mark-positions                      2           0.015366      0.0076830000
gnus-summary-insert-line                                2           0.014539      0.0072695
gnus-summary-highlight-line                             37          0.012056      0.0003258378
gnus-put-text-property                                  78          0.0119229999  0.0001528589
gnus-configure-windows                                  1           0.010539      0.010539
gnus-extract-address-components                         39          0.010476      0.0002686153
gnus-xmas-put-text-property                             78          0.0099860000  0.0001280256
gnus-set-work-buffer                                    74          0.0095919999  0.0001296216
gnus-mailing-list-mode                                  1           0.008453      0.008453
gnus-gather-threads-by-references                       1           0.0081880000  0.0081880000
gnus-xmas-mailing-list-menu-add                         1           0.0081480000  0.0081480000
gnus-char-width                                         1258        0.0078949999  6.275...e-06
gnus-message                                            9           0.0078600000  0.0008733333
gnus-put-text-property-excluding-characters-with-faces  37          0.006321      0.0001708378
gnus-group-decoded-name                                 5           0.005329      0.0010658
gnus-group-name-decode                                  5           0.0044199999  0.0008839999
gnus-score-string<                                      595         0.0038859999  6.531...e-06
gnuserv-kill-buffer-query-function                      86          0.0038840000  4.516...e-05
nnml-possibly-change-directory                          2           0.003486      0.001743
gnus-score-load-files                                   1           0.003445      0.003445
gnus-request-group                                      1           0.003431      0.003431
gnus-score-load-file                                    3           0.003381      0.001127
nnml-request-group                                      1           0.00328       0.00328
gnuserv-kill-buffer-function                            86          0.0022219999  2.583...e-05
gnus-group-find-parameter                               8           0.002058      0.00025725
gnus-set-mode-line                                      1           0.002023      0.002023
nnmail-group-pathname                                   2           0.002021      0.0010105
gnus-apply-kill-file                                    1           0.001925      0.001925
gnus-cache-articles-in-group                            1           0.001849      0.001849
gnus-update-format-specifications                       2           0.001847      0.0009235000
gnus-summary-setup-default-charset                      1           0.001732      0.001732
gnus-sort-score-files                                   1           0.001693      0.001693
gnus-make-sort-function                                 1           0.001671      0.001671
gnuserv-buffer-p                                        86          0.001614      1.876...e-05
gnus-byte-compile                                       1           0.001592      0.001592
gnus-xmas-setup-summary-toolbar                         1           0.001213      0.001213
gnus-continuum-version                                  4           0.001212      0.000303
gnus-parameter-charset                                  1           0.001086      0.001086
gnus-summary-initial-limit                              1           0.001076      0.001076
gnus-user-format-function-L                             39          0.001074      2.753...e-05
gnus-cache-file-name                                    1           0.001004      0.001004
gnus-summary-buffer-name                                1           0.001001      0.001001
gnus-point-at-eol                                       44          0.0009610000  2.184...e-05
gnus-configure-frame                                    2           0.000953      0.0004765
gnus-summary-auto-select-subject                        1           0.00095       0.00095
gnus-set-global-variables                               3           0.0009429999  0.0003143333
gnus-correct-substring                                  2           0.000932      0.000466
gnus-summary-first-unseen-subject                       1           0.000922      0.000922
gnus-newsgroup-kill-file                                2           0.000892      0.000446
gnus-score-file-name                                    1           0.000771      0.000771
gnus-summary-position-point                             5           0.0007069999  0.0001414
gnus-group-name-charset                                 5           0.000679      0.0001358
gnus-update-read-articles                               1           0.000675      0.000675
gnus-adjust-marked-articles                             1           0.000611      0.000611
gnus-goto-colon                                         5           0.0006089999  0.0001218
gnus-parameter-ignored-charsets                         1           0.000574      0.000574
gnus-summary-first-subject                              2           0.000518      0.000259
gnuserv-buffer-clients                                  86          0.000506      5.883...e-06
gnus-group-fast-parameter                               6           0.000494      8.233...e-05
gnus-articles-to-read                                   1           0.000458      0.000458
gnus-get-buffer-create                                  4           0.000366      9.149...e-05
gnus-summary-limit-children                             37          0.000365      9.864...e-06
gnus-file-newer-than                                    1           0.000345      0.000345
gnus-summary-make-local-variables                       2           0.000285      0.0001425
gnus-summary-set-display-table                          1           0.00028       0.00028
gnus-group-auto-expirable-p                             1           0.000279      0.000279
gnus-summary-set-local-parameters                       1           0.000273      0.000273
gnus-xmas-summary-set-display-table                     1           0.00026       0.00026
gnus-xmas-switch-horizontal-scrollbar-off               1           0.000252      0.000252
gnus-make-threads                                       1           0.000251      0.000251
gnus-uncompress-range                                   5           0.000248      4.96e-05
gnus-news-group-p                                       1           0.00024       0.00024
gnus-short-group-name                                   1           0.000231      0.000231
gnus-newsgroup-savable-name                             2           0.000223      0.0001115
gnus-group-parameter-value                              7           0.000207      2.957...e-05
gnus-summary-show-thread                                1           0.0002        0.0002
gnus-decay-scores                                       3           0.000199      6.633...e-05
gnus-find-method-for-group                              14          0.000194      1.385...e-05
gnus-compute-unseen-list                                1           0.000186      0.000186
gnus-all-windows-visible-p                              1           0.000182      0.000182
gnus-make-hashtable                                     3           0.000168      5.6e-05
nnml-server-opened                                      3           0.00016       5.333...e-05
gnus-group-get-parameter                                9           0.000159      1.766...e-05
gnus-add-minor-mode                                     1           0.000158      0.000158
gnus-inverse-list-range-intersection                    1           0.000158      0.000158
gnus-group-set-timestamp                                1           0.000153      0.000153
gnus-check-server                                       1           0.000138      0.000138
gnus-group-set-parameter                                1           0.000129      0.000129
gnus-sorted-complement                                  2           0.000129      6.45e-05
gnus-summary-make-menu-bar                              1           0.000127      0.000127
gnus-undo-register                                      1           0.000126      0.000126
gnus-server-opened                                      1           0.000115      0.000115
gnus-remove-from-range                                  2           0.000114      5.7e-05
gnus-group-group-name                                   1           0.00011       0.00011
gnus-get-buffer-window                                  1           0.000109      0.000109
gnus-request-type                                       1           0.000105      0.000105
gnus-undo-register-1                                    1           0.000103      0.000103
gnus-turn-off-edit-menu                                 1           9.899...e-05  9.899...e-05
gnus-range-length                                       2           9.899...e-05  4.95e-05
gnus-buffer-live-p                                      7           9.7e-05       1.385...e-05
nnoo-server-opened                                      3           9.500...e-05  3.166...e-05
gnus-mode-line-buffer-identification                    1           9.3e-05       9.3e-05
gnus-score-integer                                      1           8.000...e-05  8.000...e-05
gnus-member-of-valid                                    2           7.9e-05       3.95e-05
gnus-copy-sequence                                      5           7.6e-05       1.52e-05
gnus-group-quit-config                                  1           7.2e-05       7.2e-05
nnheader-report                                         1           7.2e-05       7.2e-05
gnus-xmas-mode-line-buffer-identification               1           6.999...e-05  6.999...e-05
gnus-killed-articles                                    1           6.9e-05       6.9e-05
gnus-set-sorted-intersection                            1           6.4e-05       6.4e-05
nnheader-replace-duplicate-chars-in-string              2           6.4e-05       3.2e-05
gnus-visual-p                                           7           6.299...e-05  8.999...e-06
gnus-sorted-intersection                                1           5.6e-05       5.6e-05
gnus-group-set-info                                     1           5.6e-05       5.6e-05
gnus-score-set                                          4           4.8e-05       1.2e-05
gnus-list-of-unread-articles                            2           4.5e-05       2.25e-05
gnus-score-file-regexp                                  2           4.3e-05       2.15e-05
gnus-virtual-group-p                                    1           4.2e-05       4.2e-05
gnus-make-sort-function-1                               2           3.5e-05       1.75e-05
gnus-create-hash-size                                   3           3.4e-05       1.133...e-05
gnus-point-at-bol                                       3           3.2e-05       1.066...e-05
gnus-sort-gathered-threads                              1           3.1e-05       3.1e-05
nnheader-translate-file-chars                           5           3.1e-05       6.2e-06
gnus-simplify-mode-line                                 1           2.9e-05       2.9e-05
gnus-get-unread-articles-in-group                       1           2.5e-05       2.5e-05
gnus-use-long-file-name                                 4           2.5e-05       6.25e-06
gnus-last-element                                       1           2.4e-05       2.4e-05
gnus-article-mark-to-type                               4           2.3e-05       5.75e-06
nnoo-current-server                                     3           2.1e-05       7.000...e-06
gnus-frames-on-display-list                             1           2.1e-05       2.1e-05
gnus-score-find-alist                                   1           2e-05         2e-05
gnus-home-score-file                                    2           1.9e-05       9.500...e-06
gnus-group-remove-parameter                             1           1.7e-05       1.7e-05
gnus-window-to-buffer-helper                            2           1.6e-05       8e-06
gnus-get-function                                       1           1.6e-05       1.6e-05
gnus-parameters-get-parameter                           2           1.4e-05       7e-06
gnus-set-difference                                     2           1.3e-05       6.5e-06
gnus-server-status                                      1           1.3e-05       1.3e-05
gnus-undo-boundary                                      1           1.1e-05       1.1e-05
gnus-thread-loop-p                                      1           1.1e-05       1.1e-05
gnus-cut-threads                                        1           9e-06         9e-06
gnus-windows-old-to-new                                 1           8e-06         8e-06
gnus-delete-if                                          1           7e-06         7e-06
gnus-summary-make-tool-bar                              1           7e-06         7e-06
gnus-make-thread-indent-array                           1           7e-06         7e-06
gnus-set-default-directory                              1           7e-06         7e-06
gnus-mailing-list-make-menu-bar                         1           6e-06         6e-06
gnus-summary-maybe-hide-threads                         1           6e-06         6e-06
gnus-update-missing-marks                               1           5e-06         5e-06

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

-- 
We dance to the sound of sirens.
We watch genocide to relax. 
We dance to the sound of sirens. 
We are the heroes of self-deception.
        -- Covenant, _Theremin_

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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  2:13 ELP results for entering the Gnus list (~10 seconds elapsed time :) Daniel Pittman
@ 2002-01-29  2:39 ` ShengHuo ZHU
  2002-01-29  2:48   ` Daniel Pittman
  2002-01-29  5:45 ` ShengHuo ZHU
  1 sibling, 1 reply; 8+ messages in thread
From: ShengHuo ZHU @ 2002-01-29  2:39 UTC (permalink / raw)


Daniel Pittman <daniel@rimspace.net> writes:

> The attached ELP results are for all for 'gnus' and 'nn', entering the
> list folder.
>
> It had one new message, together with the 36 ticked articles, some three
> years old.
>
> ] wc ~/Mail/xemacs.gnus/.overview
>   11308  324899 4232310 /home/daniel/Mail/xemacs.gnus/.overview
> ] wc ~/Mail/xemacs.gnus/.marks
>       1     130     776 /home/daniel/Mail/xemacs.gnus/.marks
>
> This is Gnus "Built at Sun Jan 27 15:07:21 EST 2002" from CVS.
>
> Mobile P2-400, 288MB RAM. The CPU runs at 100% for nine or ten seconds
> when entering the list under these conditions.
>
> Maybe this will help identify some hot spot for this sort of group. :)

What is the value of gnus-read-all-available-headers?

ShengHuo



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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  2:39 ` ShengHuo ZHU
@ 2002-01-29  2:48   ` Daniel Pittman
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pittman @ 2002-01-29  2:48 UTC (permalink / raw)


On Mon, 28 Jan 2002, ShengHuo ZHU wrote:
> Daniel Pittman <daniel@rimspace.net> writes:
>> The attached ELP results are for all for 'gnus' and 'nn', entering
>> the list folder.
>>
>> It had one new message, together with the 36 ticked articles, some
>> three years old.

[...]

>> Maybe this will help identify some hot spot for this sort of group. 
>> :)
> 
> What is the value of gnus-read-all-available-headers?

gnus-read-all-available-headers
=> nil

        Daniel

-- 
I must not fear. Fear is the mind-killer. Fear is the little-death that brings
total obliteration. I will face my fear. I will permit it to pass over me and
through me. And when it has gone past I will turn the inner eye to see its
path. Where the fear has gone there will be nothing. Only I will remain.
        -- Frank Herbert, _Dune_



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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  2:13 ELP results for entering the Gnus list (~10 seconds elapsed time :) Daniel Pittman
  2002-01-29  2:39 ` ShengHuo ZHU
@ 2002-01-29  5:45 ` ShengHuo ZHU
  2002-01-29  7:48   ` Lars Magne Ingebrigtsen
  2002-01-29  8:04   ` Daniel Pittman
  1 sibling, 2 replies; 8+ messages in thread
From: ShengHuo ZHU @ 2002-01-29  5:45 UTC (permalink / raw)


Daniel Pittman <daniel@rimspace.net> writes:

> The attached ELP results are for all for 'gnus' and 'nn', entering the
> list folder.
>
> It had one new message, together with the 36 ticked articles, some three
> years old.
>
> ] wc ~/Mail/xemacs.gnus/.overview
>   11308  324899 4232310 /home/daniel/Mail/xemacs.gnus/.overview
> ] wc ~/Mail/xemacs.gnus/.marks
>       1     130     776 /home/daniel/Mail/xemacs.gnus/.marks
>
> This is Gnus "Built at Sun Jan 27 15:07:21 EST 2002" from CVS.
>
> Mobile P2-400, 288MB RAM. The CPU runs at 100% for nine or ten seconds
> when entering the list under these conditions.
>
> Maybe this will help identify some hot spot for this sort of group. :)

[...]

> Function Name                                           Call Count  Elapsed Time  Average Time
> ======================================================  ==========  ============  ============
> gnus-group-read-group                                   1           9.506698      9.506698
> gnus-summary-read-group                                 1           9.5063650000  9.5063650000
> gnus-summary-read-group-1                               1           9.506333      9.506333
> gnus-select-newsgroup                                   1           8.6495510000  8.6495510000
> gnus-fetch-headers                                      1           8.640656      8.640656
> gnus-get-newsgroup-headers-xover                        1           7.906612      7.906612
> gnus-retrieve-headers                                   2           1.459674      0.7298370000

Maybe gnus-nov-parse-line is the culprit, but it is an inline call in
gnus-get-newsgroup-headers-xover.  So, could you evaluate
gnus-get-newsgroup-headers-xover, then run elp again?

ShengHuo



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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  5:45 ` ShengHuo ZHU
@ 2002-01-29  7:48   ` Lars Magne Ingebrigtsen
  2002-01-29 19:01     ` Simon Josefsson
  2002-02-02 22:06     ` Paul Jarc
  2002-01-29  8:04   ` Daniel Pittman
  1 sibling, 2 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-29  7:48 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

>> It had one new message, together with the 36 ticked articles, some three
>> years old.
>>
>> ] wc ~/Mail/xemacs.gnus/.overview
>>   11308  324899 4232310 /home/daniel/Mail/xemacs.gnus/.overview
>> ] wc ~/Mail/xemacs.gnus/.marks
>>       1     130     776 /home/daniel/Mail/xemacs.gnus/.marks

[...]

>> gnus-get-newsgroup-headers-xover                        1           7.906612      7.906612
>> gnus-retrieve-headers                                   2           1.459674      0.7298370000
>
> Maybe gnus-nov-parse-line is the culprit, but it is an inline call in
> gnus-get-newsgroup-headers-xover.  So, could you evaluate
> gnus-get-newsgroup-headers-xover, then run elp again?

I think the explanation for this could be that if we call
`nnml-retrieve-headers' with article lists like '(45 73 20034)', then
that function will return a buffer with all the NOV headers between 45
and 20034.

*looks at code*

Yup, `nnheader-nov-delete-outside-range' is called to remove lines
that are before the smallest number and higher than the largest
number.  This means that `gnus-get-newsgroup-headers-xover' is parsing
a very large buffer.

I think we need to write a new function that looks at the "gaps" in
the article numbers and decides whether to remove the superfluous
lines or not according to some heuristic.  Say -- if the "gap" is more
than 50 articles, it will probably be more efficient to remove the
lines in between.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  5:45 ` ShengHuo ZHU
  2002-01-29  7:48   ` Lars Magne Ingebrigtsen
@ 2002-01-29  8:04   ` Daniel Pittman
  1 sibling, 0 replies; 8+ messages in thread
From: Daniel Pittman @ 2002-01-29  8:04 UTC (permalink / raw)


On Tue, 29 Jan 2002, ShengHuo ZHU wrote:
> Daniel Pittman <daniel@rimspace.net> writes:
> 
>> The attached ELP results are for all for 'gnus' and 'nn', entering
>> the list folder.

[...]

> Maybe gnus-nov-parse-line is the culprit, but it is an inline call in
> gnus-get-newsgroup-headers-xover.  So, could you evaluate
> gnus-get-newsgroup-headers-xover, then run elp again?

Sure. I did M-x find-function ..., then M-x eval-buffer. Hope that's
enough.  I elided everything that took less that 1/10th of a second for
the sake of bandwidth.

`gnus-nov-parse-line', with five and a half seconds of running time,
certainly looks like a candidate for the crown.

        Daniel


Function Name                                           Call Count  Elapsed Time  Average Time
======================================================  ==========  ============  ============
gnus-group-read-group                                   1           10.528297     10.528297
gnus-summary-read-group                                 1           10.527939     10.527939
gnus-summary-read-group-1                               1           10.527872     10.527872
gnus-select-newsgroup                                   1           9.5772010000  9.5772010000
gnus-fetch-headers                                      1           9.5652259999  9.5652259999
gnus-get-newsgroup-headers-xover                        1           8.1280420000  8.1280420000
gnus-nov-parse-line                                     39          5.4459870000  0.1396406923
gnus-retrieve-headers                                   2           2.864607      1.4323035
gnus-cache-retrieve-headers                             1           1.433175      1.433175
nnml-retrieve-headers                                   1           1.43095       1.43095
nnml-retrieve-headers-with-nov                          1           1.428754      1.428754
nnheader-insert-file-contents                           1           1.074535      1.074535
gnus-summary-prepare                                    1           0.610515      0.610515
gnus-summary-prepare-threads                            1           0.492691      0.492691
nnheader-nov-delete-outside-range                       1           0.351838      0.351838
nnheader-find-nov-line                                  2           0.284547      0.1422735
gnus-user-format-function-b                             41          0.250531      0.0061105121
gnus-possibly-score-headers                             1           0.229177      0.229177
gnus-all-score-files                                    1           0.1761239999  0.1761239999
gnus-score-find-bnews                                   1           0.174086      0.174086
gnus-sort-threads                                       1           0.104276      0.104276
gnus-sort-threads-1                                     2           0.100263      0.0501315

-- 
I've learned that when you have an argument with your spouse, the first one
who says,"I'm sorry I hurt your feelings; please forgive me," is the winner.
        -- H. Jackson Brown, Jr



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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  7:48   ` Lars Magne Ingebrigtsen
@ 2002-01-29 19:01     ` Simon Josefsson
  2002-02-02 22:06     ` Paul Jarc
  1 sibling, 0 replies; 8+ messages in thread
From: Simon Josefsson @ 2002-01-29 19:01 UTC (permalink / raw)


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

> Yup, `nnheader-nov-delete-outside-range' is called to remove lines
> that are before the smallest number and higher than the largest
> number.  This means that `gnus-get-newsgroup-headers-xover' is parsing
> a very large buffer.
>
> I think we need to write a new function that looks at the "gaps" in
> the article numbers and decides whether to remove the superfluous
> lines or not according to some heuristic.  Say -- if the "gap" is more
> than 50 articles, it will probably be more efficient to remove the
> lines in between.

In the nnimap NOV cache I found these functions too slow (especially
the "braid-nov" function), so it just inserts the entire NOV content,
except lines below the minimum article number in the requested range,
and above the maximum.  IIRC.




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

* Re: ELP results for entering the Gnus list (~10 seconds elapsed time :)
  2002-01-29  7:48   ` Lars Magne Ingebrigtsen
  2002-01-29 19:01     ` Simon Josefsson
@ 2002-02-02 22:06     ` Paul Jarc
  1 sibling, 0 replies; 8+ messages in thread
From: Paul Jarc @ 2002-02-02 22:06 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> I think the explanation for this could be that if we call
> `nnml-retrieve-headers' with article lists like '(45 73 20034)', then
> that function will return a buffer with all the NOV headers between 45
> and 20034.

nnmaildir stores NOV data in such a way that it's easy to get just the
information for particular articles, so it can put the information for
just the requested articles in the buffer.  Maybe nnml could do that
too.

Even better: change the backend interface so the backend can return
the same data structures that Gnus ends up using, instead of making
all backends pretend to be NNTP.  Mail backends could store "prin1"
output, and use "read" to parse it.  nntp is the only backend that
should ever need to parse a NOV buffer.


paul



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

end of thread, other threads:[~2002-02-02 22:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-29  2:13 ELP results for entering the Gnus list (~10 seconds elapsed time :) Daniel Pittman
2002-01-29  2:39 ` ShengHuo ZHU
2002-01-29  2:48   ` Daniel Pittman
2002-01-29  5:45 ` ShengHuo ZHU
2002-01-29  7:48   ` Lars Magne Ingebrigtsen
2002-01-29 19:01     ` Simon Josefsson
2002-02-02 22:06     ` Paul Jarc
2002-01-29  8:04   ` Daniel Pittman

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