From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: profiling emacs-23.1 vs emacs-22.3 Date: Tue, 4 Aug 2009 12:56:12 -0700 (PDT) Message-ID: <200908041956.n74JuCsD003244@godzilla.ics.uci.edu> References: <200908032029.n73KTi9h017528@godzilla.ics.uci.edu> <87ljlznyt3.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249415895 4949 80.91.229.12 (4 Aug 2009 19:58:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 19:58:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 21:58:08 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 1MYQ94-0004Dn-OO for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 21:58:03 +0200 Original-Received: from localhost ([127.0.0.1]:52485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQ94-0000k6-A0 for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2009 15:58:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYQ90-0000jj-BF for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:57:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYQ8v-0000ie-Ep for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:57:57 -0400 Original-Received: from [199.232.76.173] (port=58677 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYQ8v-0000ib-8R for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:57:53 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:43940) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MYQ8u-0002yW-Gf for emacs-devel@gnu.org; Tue, 04 Aug 2009 15:57:52 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n74JuCsU008831; Tue, 4 Aug 2009 12:56:12 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n74JuCsD003244; Tue, 4 Aug 2009 12:56:12 -0700 (PDT) In-Reply-To: <87ljlznyt3.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 04 Aug 2009 15:50:32 -0400") Original-Lines: 19 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n74JuCsU008831 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:113682 Archived-At: Chong Yidong writes: > 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? No