From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Sat, 19 Mar 2005 23:04:57 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111270199 348 80.91.229.2 (19 Mar 2005 22:09:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2005 22:09:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 19 23:09:58 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCm7u-0005jc-Pi for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2005 23:08:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCmOg-0007pI-J1 for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2005 17:26:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DCmNc-0007Wd-Oz for emacs-devel@gnu.org; Sat, 19 Mar 2005 17:25:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DCmNR-0007TL-SK for emacs-devel@gnu.org; Sat, 19 Mar 2005 17:25:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCmNR-0007SX-J7 for emacs-devel@gnu.org; Sat, 19 Mar 2005 17:25:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DCm4A-0005RV-Dt for emacs-devel@gnu.org; Sat, 19 Mar 2005 17:05:06 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DCm49-0002w5-TI; Sat, 19 Mar 2005 17:05:06 -0500 Original-To: bob@rattlesnake.com In-Reply-To: (Robert J. Chassell's message of "Sat, 19 Mar 2005 21:22:52 +0000 (UTC)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34789 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34789 "Robert J. Chassell" writes: > Sunday's GNU Emacs CVS snapshot, Sun, 2005 Mar 13 > GNU Emacs 22.0.50.22 (i686-pc-linux-gnu, GTK+ Version 2.6.2) > > vrs > > Friday's GNU Emacs CVS snapshot, Fri, 2005 Mar 18 > GNU Emacs 22.0.50.26 (i686-pc-linux-gnu, GTK+ Version 2.6.2) > > both started with the same, long .emacs file > > The time sink is `rmail-summary-goto-msg'. > > I profiled one deletion on that function. `rmail-summary-goto-msg' > continues as the time sink. The function takes longer over time. > > older > Function Name Call Count Elapsed Time Average Time > =================================== ========== ============ ============ > rmail-summary-goto-msg 6 0.057814 0.0096356666 > rmail-summary-rmail-update 6 0.0381699999 0.0063616666 > rmail-summary-undelete 1 0.016846 0.016846 > rmail-summary-delete-forward 1 0.013405 0.013405 > > > younger > Function Name Call Count Elapsed Time Average Time > =================================== ========== ============ ============ > rmail-summary-construct-io-menu 1 0.141289 0.141289 > rmail-summary-rmail-update 8 0.0816259999 0.0102032499 > rmail-summary-delete-forward 1 0.032636 0.032636 > rmail-summary-goto-msg 4 0.0205899999 0.0051474999 > > Unfortunately, I am now lost. On glancing at the source for > `rmail-summary-goto-msg' I don't see anything obviously wrong. What > should I do next? Well, one thing that appears wrong is that the branch that calls rmail-summary-goto-msg recursively then still goes on to continue working afterwards. I don't have enough of a clue to judge whether this is intended behavior, but it certainly appears weird. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum