Gnus development mailing list
 help / color / mirror / Atom feed
* Slowness in viewing all articles in nnfolder
@ 1999-04-02  1:25 Danny Siu
  1999-04-02  2:01 ` Justin Sheehy
  1999-04-02 10:21 ` Kai.Grossjohann
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Siu @ 1999-04-02  1:25 UTC (permalink / raw)


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


Has anyone noticed the slowness when trying to view all articles (C-u RET RET
in group buffer) in a nnfolder group?  It took more than 5 mins for the
summary buffer to show up!  My nnfolder file (12MB!) is on local disk and I
am running XEmacs 20.4 with pgnus-0.80 on Sun Ultra2 Dual 200Mhz.

The reason I want to view all articles is that I like to view articles with
ancient mark along with all unread articles.  I use del-mark ("r") for
articles I already read but want to keep around (they becomes ancient next
time I enter the group), tick ("!") mark for articles I need to reply, and
expirable mark ("E") for articles I want to get rid of.  I don't use
auto-expiry since I need to keep all ancient articles.

Is anyone doing something similar?  It seems like I need another unread mark
(besides !, ? and ' ').

Is there a way to view ONLY unread, ticked, and ancient articles?  The
'display group param only has two choices: all or default and default shows
only gnus-newsgroup-dormant, gnus-newsgroup-marked, and
gnus-newsgroup-unreads articles (in gnus-article-to-read).

I have attached the profile result of doing gnus-topic-select-group with
non-nil arg on my 12MB nnfolder group.

-- 
Danny Dick-Fung Siu        mailto:dsiu@adobe.com
Acrobat Engineering @ Adobe Systems Incorporated
      http://www.csua.berkeley.edu/~dsiu


[-- Attachment #2: profile result of gnus-topic-select-group --]
[-- Type: text/plain, Size: 7747 bytes --]

Function Name                             Ticks    %/Total
======================================    =====    =======
search-forward                            100743    96.001
search-backward                           2469     2.353 
string-match                              191      0.182 
delq                                      183      0.174 
count                                     105      0.100 
(unknown)                                 105      0.100 
(in garbage collection)                   101      0.096 
nnfolder-goto-article                     97       0.092 
let                                       88       0.084 
nnfolder-article-string                   48       0.046 
parse-time-string                         46       0.044 
int-to-string                             42       0.040 
re-search-forward                         40       0.038 
get-buffer-create                         38       0.036 
parse-time-tokenize                       37       0.035 
put-text-property                         32       0.030 
gnus-update-missing-marks                 32       0.030 
buffer-file-name                          30       0.029 
kill-buffer                               30       0.029 
if                                        28       0.027 
gnus-killed-articles                      27       0.026 
gnus-sorted-complement                    26       0.025 
generate-new-buffer-name                  26       0.025 
gnus-sorted-intersection                  24       0.023 
gnus-summary-prepare-threads              19       0.018 
get-text-property                         19       0.018 
mail-decode-encoded-word-string           18       0.017 
nnfolder-retrieve-headers                 16       0.015 
re-search-backward                        15       0.014 
gnus-simplify-subject-fuzzy               14       0.013 
buffer-list                               13       0.012 
insert-buffer-substring                   12       0.011 
format                                    11       0.010 
gnus-set-work-buffer                      10       0.010 
gnus-uncompress-range                     9        0.009 
insert                                    9        0.009 
#<compiled-function (from "parse-time.elc") nil "...(292)" [elt 3 5 end start string 0 index digit integer sign ?\+ ?\- char parse-time-syntax 1 parse-time-digits 10 signal parse-error not an integer 60 -1] 8>    8        0.008 
gnus-summary-highlight-line               8        0.008 
gnus-score-string                         8        0.008 
gnus-thread-sort-by-date                  8        0.008 
gnus-get-newsgroup-headers                8        0.008 
encode-time                               8        0.008 
subst-char-in-region                      8        0.008 
(in redisplay)                            7        0.007 
gnus-score-string<                        6        0.006 
check-menu-syntax                         6        0.006 
looking-at                                5        0.005 
cdr                                       5        0.005 
nnheader-replace-regexp                   4        0.004 
get-buffer                                4        0.004 
gnus-put-text-property                    3        0.003 
next-single-property-change               3        0.003 
check-for-edit-mode-clear                 3        0.003 
assoc                                     3        0.003 
member*                                   3        0.003 
format-time-string                        3        0.003 
nnmail-search-unix-mail-delim-backward    3        0.003 
nnmail-within-headers-p                   2        0.002 
gnus-run-hooks                            2        0.002 
#<compiled-function (from "cl.elc") (cond &rest body) "...(8)" [if cond nil body] 4 531010>    2        0.002 
gnus-score-headers                        2        0.002 
date-to-time                              2        0.002 
safe-date-to-time                         2        0.002 
copy-sequence                             2        0.002 
sort                                      2        0.002 
gnus-score-find-bnews                     2        0.002 
byte-code                                 2        0.002 
delete-other-windows                      2        0.002 
gnus-topic-parent-topic                   2        0.002 
>                                         2        0.002 
gnuserv-kill-buffer-query-function        2        0.002 
progn                                     1        0.001 
run-hooks                                 1        0.001 
or                                        1        0.001 
and                                       1        0.001 
gnus-gather-threads-by-subject            1        0.001 
gnus-summary-insert-dummy-line            1        0.001 
#<compiled-function (from "gnus-sum.elc") (node) "...(50)" [node nil thread nodes gnus-thread-expunge-below gnus-thread-total-score gnus-expunge-thread gnus-summary-limit-children] 3>    1        0.001 
gnus-summary-limit-children               1        0.001 
#<compiled-function (from "parse-time.elc") nil "...(23)" [elt 8 2 ?\: 5] 2>    1        0.001 
read                                      1        0.001 
gnus-select-newsgroup                     1        0.001 
gnus-cut-threads                          1        0.001 
jde-count-open-java-buffers               1        0.001 
read-minibuffer-internal                  1        0.001 
gnus-put-text-property-excluding-characters-with-faces    1        0.001 
dired-handler-fn                          1        0.001 
redisplay-echo-area                       1        0.001 
gnus-score-followup                       1        0.001 
add-text-properties                       1        0.001 
replace-match                             1        0.001 
gnus-group-find-parameter                 1        0.001 
expand-file-name                          1        0.001 
file-name-as-directory                    1        0.001 
gnus-score-add-followups                  1        0.001 
#<compiled-function (from "gnus-sum.elc") (relation) "...(427)" [make-full-mail-header gnus-reffed-article-number 3 relation  4 2 0 gnus-newsgroup-dependencies nil force-new dependencies header id intern id-dep ref ref-dep ref-header boundp gnus-summary-ignore-duplicates nnmail-message-id 8 5 n references gnus-split-references ids 1 intern-soft none gnus-newsgroup-limit gnus-newsgroup-sparse gnus-sparse-mark gnus-newsgroup-reads] 11>    1        0.001 
insert-file-contents-internal             1        0.001 
remove-hook                               1        0.001 
vector                                    1        0.001 
make-vector                               1        0.001 
mapatoms                                  1        0.001 
erase-buffer                              1        0.001 
gnus-build-sparse-threads                 1        0.001 
kill-all-local-variables                  1        0.001 
mapcar                                    1        0.001 
delete-char                               1        0.001 
register-swap-out                         1        0.001 
vectorp                                   1        0.001 
xselect-kill-buffer-hook                  1        0.001 
xselect-kill-buffer-hook-1                1        0.001 
gnus-point-at-eol                         1        0.001 
<                                         1        0.001 
gnus-adjust-marked-articles               1        0.001 
directory-files                           1        0.001 
gnuserv-buffer-clients                    1        0.001 
----------------------------------------------------------
Total                                     104939    100.00


One tick = 1 ms

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

* Re: Slowness in viewing all articles in nnfolder
  1999-04-02  1:25 Slowness in viewing all articles in nnfolder Danny Siu
@ 1999-04-02  2:01 ` Justin Sheehy
  1999-04-02 10:21 ` Kai.Grossjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Justin Sheehy @ 1999-04-02  2:01 UTC (permalink / raw)


Danny Siu <dsiu@Adobe.COM> writes:

> Has anyone noticed the slowness when trying to view all articles (C-u RET RET
> in group buffer) in a nnfolder group?  It took more than 5 mins for the
> summary buffer to show up!  My nnfolder file (12MB!) 

That is not very surprising.  nnfolder is slow at generating summary
buffers, particularly on files as huge as yours.

> The reason I want to view all articles is that I like to view articles with
> ancient mark along with all unread articles.  I use del-mark ("r") for
> articles I already read but want to keep around (they becomes ancient next
> time I enter the group), tick ("!") mark for articles I need to reply, and
> expirable mark ("E") for articles I want to get rid of. 

It sounds to me like you haven't really adjusted to The Gnus Way of
reading your email.  :-) Viewing all articles upon every group entry
isn't really the way that most Gnus users seem to read their mail.
Also, monolithic nnfolder or nnmbox groups get pretty unwieldy after a
while.

In any case, if you are really attached to that mode of operation, you 
should probably switch to a backend that will be faster at doing what
you need, such as nnml.

> I don't use auto-expiry since I need to keep all ancient articles.

auto-expire does not remove ancient articles.  It removes only
articles marked as 'E', and adds this mark to each article that you
read.

> Is there a way to view ONLY unread, ticked, and ancient articles? 

What do you not want to see?  ancient articles and read articles are
essetially the same...

-- 
Justin Sheehy

In a cloud bones of steel.
  




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

* Re: Slowness in viewing all articles in nnfolder
  1999-04-02  1:25 Slowness in viewing all articles in nnfolder Danny Siu
  1999-04-02  2:01 ` Justin Sheehy
@ 1999-04-02 10:21 ` Kai.Grossjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kai.Grossjohann @ 1999-04-02 10:21 UTC (permalink / raw)


Danny Siu <dsiu@Adobe.COM> writes:

  > Has anyone noticed the slowness when trying to view all articles
  > (C-u RET RET in group buffer) in a nnfolder group?  It took more
  > than 5 mins for the summary buffer to show up!  My nnfolder file
  > (12MB!) is on local disk and I am running XEmacs 20.4 with
  > pgnus-0.80 on Sun Ultra2 Dual 200Mhz.

How many messages are there in the nnfolder group?  I think you don't
really want to look at nnfolder groups with more than a few hundred
messages.

kai
-- 
I'd like to welcome you and an orange juice, please.


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

end of thread, other threads:[~1999-04-02 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-02  1:25 Slowness in viewing all articles in nnfolder Danny Siu
1999-04-02  2:01 ` Justin Sheehy
1999-04-02 10:21 ` Kai.Grossjohann

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