From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9814 Path: main.gmane.org!not-for-mail From: Paul Franklin Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmail-split-it Date: 04 Feb 1997 22:44:25 -0800 Sender: paul@cs.washington.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149782 20718 80.91.224.250 (20 Oct 2002 21:36:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:36:22 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id WAA14334 for ; Tue, 4 Feb 1997 22:52:43 -0800 Original-Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 5 Feb 1997 07:44:29 +0100 Original-Received: from fester.cs.washington.edu (fester.cs.washington.edu [128.95.4.119]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id WAA29327; Tue, 4 Feb 1997 22:44:27 -0800 Original-Received: (from paul@localhost) by fester.cs.washington.edu (8.6.12/8.6.9) id WAA00706; Tue, 4 Feb 1997 22:44:26 -0800 Original-To: ding@ifi.uio.no In-Reply-To: Lars Magne Ingebrigtsen's message of 04 Feb 1997 20:58:27 +0100 Original-Lines: 29 X-Mailer: Gnus v5.4.10/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:9814 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9814 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