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: Mon, 24 Aug 2009 11:26:27 -0700 (PDT) Message-ID: <200908241826.n7OIQRhS001092@godzilla.ics.uci.edu> References: <200908032029.n73KTi9h017528@godzilla.ics.uci.edu> <200908240807.n7O87ubg024643@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 1251138914 30173 80.91.229.12 (24 Aug 2009 18:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 18:35:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 24 20:35:07 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 1MfeNn-0003Mi-4I for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 20:35:07 +0200 Original-Received: from localhost ([127.0.0.1]:43551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfeNm-0002gM-99 for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 14:35:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfeH6-0005WB-UL for emacs-devel@gnu.org; Mon, 24 Aug 2009 14:28:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfeH2-0005Q1-Qk for emacs-devel@gnu.org; Mon, 24 Aug 2009 14:28:12 -0400 Original-Received: from [199.232.76.173] (port=58797 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfeH2-0005PN-NB for emacs-devel@gnu.org; Mon, 24 Aug 2009 14:28:08 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:38827) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MfeH0-0005XA-Gm for emacs-devel@gnu.org; Mon, 24 Aug 2009 14:28:06 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n7OIQRXh015067; Mon, 24 Aug 2009 11:26:27 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n7OIQRhS001092; Mon, 24 Aug 2009 11:26:27 -0700 (PDT) In-Reply-To: (Kenichi Handa's message of "Mon, 24 Aug 2009 20:39:47 +0900") Original-Lines: 29 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n7OIQRXh015067 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:114559 Archived-At: Kenichi Handa writes: > In article <200908240807.n7O87ubg024643@godzilla.ics.uci.edu>, Dan Nicolaescu writes: > > > Could you try the attached patch? If it improves the > > > It does improve performance: > > How much in real time? from 22 seconds to 19 (vs about 16 for 22.3 ) > [...] > > It's still slower than 22.3 though. > > > One big difference is then time/number of calls to mark_objects > > 129733 vs 18834514, so 145 times more calls to mark_object. > > Do you know where do those come from? > > > The number of Fgarbage_collect calls does not increase that much: > > from 37 (for 22.3) to 43 (for 23.1). > > It seems that c-indent-region has been changed a lot. I'm > not sure, but perhaps that is the reason. How do the other > people think? I set the load path to cc-mode from 22.3, it did not make any significant difference in the amount of mark_object and Fgarbage_collect calls.