From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: profiling emacs-23.1 vs emacs-22.3 Date: Mon, 24 Aug 2009 20:39:47 +0900 Message-ID: References: <200908032029.n73KTi9h017528@godzilla.ics.uci.edu> <200908240807.n7O87ubg024643@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1251117273 17015 80.91.229.12 (24 Aug 2009 12:34:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 12:34:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 24 14:34:26 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 1MfYkj-0003JC-BI for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 14:34:25 +0200 Original-Received: from localhost ([127.0.0.1]:55386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfYkh-0006AD-Nj for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2009 08:34:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfXu3-0004uc-3w for emacs-devel@gnu.org; Mon, 24 Aug 2009 07:39:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfXtv-0004oY-PE for emacs-devel@gnu.org; Mon, 24 Aug 2009 07:39:55 -0400 Original-Received: from [199.232.76.173] (port=42942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXtv-0004oJ-IO for emacs-devel@gnu.org; Mon, 24 Aug 2009 07:39:51 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:41710) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfXtu-0004l9-TD for emacs-devel@gnu.org; Mon, 24 Aug 2009 07:39:51 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n7OBdlTQ003399; Mon, 24 Aug 2009 20:39:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n7OBdlZB010992; Mon, 24 Aug 2009 20:39:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n7OBdleg001824; Mon, 24 Aug 2009 20:39:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MfXtr-0006iv-3U; Mon, 24 Aug 2009 20:39:47 +0900 In-reply-to: <200908240807.n7O87ubg024643@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Mon, 24 Aug 2009 01:07:56 -0700 (PDT)) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:114553 Archived-At: 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? [...] > 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? --- Kenichi Handa handa@m17n.org