Gnus development mailing list
 help / color / mirror / Atom feed
From: Paul Franklin <paul@cs.washington.edu>
Subject: Re: nnmail-split-it
Date: 04 Feb 1997 22:44:25 -0800	[thread overview]
Message-ID: <r9qn2tju4za.fsf@fester.cs.washington.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 04 Feb 1997 20:58:27 +0100

OK, I gathered some performance numbers for my splitting method.  

I have 58 split rules in 14 groups; I grabbed some old mail from an
Incoming file and resplit its 29 messages.  I don't know where one got
put, but from the ones I found, I know I evaluated 1044 split rules
(~37/msg) in 205 rule groups (~7/msg).  Note that parsing the headers
took up 1/3 of the total time to split.

Concatenations can happen in both pdf-nnmail-header-list-lookup and
pdf-nnmail-extract-header-alist.  Also, pdf-nnmail-header-list-lookup
is called at least once per rule group, but not once per rule.

The only way I can think of to compare these is by normalizing on
nnmail-check-duplication.  Does anyone have a better suggestion?

Function Name                           Call Count  Elapsed Time  Average Time
======================================  ==========  ============  ============
nnmail-get-new-mail                     1           30.084111999  30.084111999
nnmail-split-incoming                   1           18.756096000  18.756096000
nnmail-process-unix-mail-format         1           18.575437000  18.575437000
nnmail-check-duplication                29          18.501307999  0.6379761379
nnmail-write-region                     43          15.935499000  0.3705930000
nnmail-move-inbox                       2           2.6384170000  1.3192085000
nnmail-article-group                    29          1.8114500000  0.0624637931
pdf-nnmail-split-function               29          1.0585440000  0.0365015172
pdf-nnmail-header-list-lookup           314         0.2344180000  0.0007465541
pdf-nnmail-extract-header-alist         29          0.3682350000  0.0126977586

--Paul


  reply	other threads:[~1997-02-05  6:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-02 22:06 nnmail-split-it Johan Danielsson
1997-02-03 23:28 ` nnmail-split-it David Moore
1997-02-04  1:29   ` nnmail-split-it Paul Franklin
1997-02-04  1:55     ` nnmail-split-it Lars Magne Ingebrigtsen
1997-02-04  4:35       ` nnmail-split-it David Moore
1997-02-04  6:16         ` nnmail-split-it anonymous
1997-02-04  8:37       ` nnmail-split-it Per Abrahamsen
1997-02-04 18:05         ` nnmail-split-it David Moore
1997-02-04 19:58           ` nnmail-split-it Lars Magne Ingebrigtsen
1997-02-05  6:44             ` Paul Franklin [this message]
1997-02-05  8:24           ` nnmail-split-it Per Abrahamsen
1997-02-04  0:46 ` nnmail-split-it Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=r9qn2tju4za.fsf@fester.cs.washington.edu \
    --to=paul@cs.washington.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).