From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Scrolling xdisp.c. Room for optimisation in syntax.c/CC Mode. Date: Mon, 20 Oct 2014 14:05:01 +0200 Message-ID: <5444FA6D.4030403@gmx.at> References: <20141018181937.GA5924@acm.acm> <20141018202839.GB5924@acm.acm> <5444B9EF.4050506@gmx.at> <20141020114727.GB2947@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413806760 25605 80.91.229.3 (20 Oct 2014 12:06:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 12:06:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 20 14:05:53 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgBij-00040I-JR for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 14:05:53 +0200 Original-Received: from localhost ([::1]:44331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBij-0000Lj-6b for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2014 08:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBi7-0000Fw-Ux for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:05:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgBhz-0002Lm-3q for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:05:15 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:61397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgBhy-0002Jz-QI for emacs-devel@gnu.org; Mon, 20 Oct 2014 08:05:07 -0400 Original-Received: from [188.23.120.87] ([188.23.120.87]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MfmWy-1XRo5E3XSW-00N7vw; Mon, 20 Oct 2014 14:05:04 +0200 In-Reply-To: <20141020114727.GB2947@acm.acm> X-Provags-ID: V03:K0:1/ZZVPcFIhDtUmAVSPTF4tx97h1J6F5HtG5iHfCXhR+OYjGt7A+ GN1wR8lqQX1eqxE1M+eq/iHffur4kpFqtxzQ6gq7wBGWSKhvtSy4CWnkMC+a042M5gq8WoB 0sWoRpx0umTinGKnQCdEC6TV+0k1/rwpIQ/3rRJLeT5sfD5r5I/0VNveWExe6TRdOLYuenL jdaiRvBfDOWaFHnIqYxsw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175587 Archived-At: > I got this, until I re-bootstrapped my trunk with full compiler > optimisation, no debugging set, and no extra checks enabled. Then I got > pretty much the same results for the trunk as 24.4. > > The main reason I did all this, which nobody's commented on so far, was > to get a handle on how much the `open-paren-in-column-0-is-defun-start', > now bound to nil at critical places in CC Mode, was actually costing on a > large C file. On 24.4 you get 22%, on the trunk, 61%. I get 31% in > 24.4, and 32% in the trunk. > > It seems that "instrumentation" is increasing the cost of > open-paren-etc. All my builds are configured the same way. So this doesn't explain why 24.4 (which IIUC binds `open-paren-in-column-0-is-defun-start' to nil too) is four times faster. martin