From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: profiling emacs-23.1 vs emacs-22.3 Date: Tue, 04 Aug 2009 15:50:32 -0400 Message-ID: <87ljlznyt3.fsf@stupidchicken.com> References: <200908032029.n73KTi9h017528@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249415452 3634 80.91.229.12 (4 Aug 2009 19:50:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 19:50:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 21:50:45 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYQ20-0000tG-Fy for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 21:50:44 +0200 Original-Received: from localhost ([127.0.0.1]:36519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQ20-0006F6-15 for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 15:50:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYQ1w-0006F1-Jr for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:50:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYQ1r-0006Ei-4k for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:50:39 -0400 Original-Received: from [199.232.76.173] (port=54694 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQ1q-0006Ef-Un for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:50:34 -0400 Original-Received: from pantheon-po42.its.yale.edu ([130.132.50.101]:54184) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYQ1q-0001zs-Kb for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:50:34 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n74JoWhP030605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 4 Aug 2009 15:50:32 -0400 Original-Received: by furry (Postfix, from userid 1000) id 6E447C070; Tue, 4 Aug 2009 15:50:32 -0400 (EDT) In-Reply-To: <200908032029.n73KTi9h017528@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 3 Aug 2009 13:29:44 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:113679 Archived-At: Dan Nicolaescu writes: > I run a small test. > Take src/config.h run C-x r t on it to insert a space in front of each > line. > Then build both emacs-23.1 and 22.3 with profiling enabled (-O2 -g -pg). > Then run: > emacs -Q -nw config.h > M-: (indent-region (point-min)(point-max)) RET > C-x C-c > > It can be seen that 23.1 is quite a bit slower, and that it has a lot of > extra calls to char_table_ref. Is there any difference in CVS trunk?