From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Info is slow in Emacs 22.0.50 Date: Mon, 13 Jun 2005 14:54:59 +1200 Message-ID: <17068.62851.77414.137332@farnswood.snap.net.nz> References: <17066.8682.499211.504174@farnswood.snap.net.nz> <200506102345.j5ANjmw05608@raven.dms.auburn.edu> <17066.46585.30972.947679@farnswood.snap.net.nz> <87r7f8mk18.fsf@jurta.org> <17067.40577.397772.516515@farnswood.snap.net.nz> <17068.58955.164462.570587@farnswood.snap.net.nz> <200506130219.j5D2JKD09348@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118631102 19702 80.91.229.2 (13 Jun 2005 02:51:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 02:51:42 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 04:51:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dhf33-00064P-Da for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 04:51:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhf7k-000701-PF for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 22:56:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dhf71-0006vK-Dt for emacs-devel@gnu.org; Sun, 12 Jun 2005 22:55:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dhf6y-0006tu-NV for emacs-devel@gnu.org; Sun, 12 Jun 2005 22:55:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhf6y-0006sh-FQ for emacs-devel@gnu.org; Sun, 12 Jun 2005 22:55:40 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dhf5u-0005SB-4v; Sun, 12 Jun 2005 22:54:34 -0400 Original-Received: from farnswood.snap.net.nz (p52-tnt1.snap.net.nz [202.124.110.52]) by viper.snap.net.nz (Postfix) with ESMTP id ABC5154153A; Mon, 13 Jun 2005 14:53:14 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 4036162A99; Mon, 13 Jun 2005 03:55:00 +0100 (BST) Original-To: Luc Teirlinck In-Reply-To: <200506130219.j5D2JKD09348@raven.dms.auburn.edu> X-Mailer: VM 7.19 under Emacs 22.0.50.68 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 Xref: news.gmane.org gmane.emacs.devel:38687 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38687 > But the strange thing in all of this is that Juri seems to say that > there is no slowdown with Emacs started with -Q -D. Does the same > apply to you? If so, what in your .emacs could produce the slowdown? > In as far as Info itself is concerned, I can only think of > `Info-refill-paragraphs', but the customization does, of course, not > need to be directly related to Info. Repeating the experiment I get similar results with (22.0.50): emacs emacs -Q emacs -D emacs -Q -D except that these are twice as fast as my previously posted result and the user experience varies (emacs -Q seemed slower than emacs -D). I'm not familiar with elp, but I imagine that there is some skill in understanding the results and in doing a control test. Nick Function Name Call Count Elapsed Time Average Time ============================ ========== ============ ============ Info-find-node 7 10.825845000 1.5465492857 Info-find-node-2 7 10.781726 1.5402465714 Info-select-node 7 9.164947 1.3092781428 Info-fontify-node 7 9.0328870000 1.2904124285 Info-goto-node 6 8.209637 1.3682728333 Info-try-follow-nearest-node 3 3.091947 1.030649 re-search-forward 5631 1.8600030000 0.0003303148 match-string 9652 0.8224279999 8.520...e-05 add-text-properties 4079 0.6348320000 0.0001556342 put-text-property 4796 0.3745849999 7.810...e-05 looking-at 4517 0.2494090000 5.521...e-05 Info-read-subfile 5 0.17378 0.0347559999 info-insert-file-contents 4 0.164102 0.0410255 Info-find-in-tag-table 5 0.0827790000 0.0165558000 Info-find-in-tag-table-1 10 0.081705 0.0081705 info-file-exists-p 51 0.027737 0.0005438627 Info-get-token 10 0.022844 0.0022844 Info-find-node-in-buffer 7 0.007892 0.0011274285 info-initialize 13 0.0071050000 0.0005465384 Info-find-node-in-buffer-1 8 0.0070580000 0.0008822500 Info-set-mode-line 8 0.0036589999 0.0004573749 info-insert-file-contents-1 47 0.0024929999 5.304...e-05 Info-extract-menu-node-name 1 0.001168 0.001168 Info-node-at-bob-matching 8 0.0008669999 0.0001083749