From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16526: 24.3.50; scroll-conservatively & c-mode regression. The purpose of revision 116070. Date: Sun, 26 Jan 2014 18:33:10 +0200 Message-ID: <834n4qbt4p.fsf@gnu.org> References: <52E38286.1050306@gmx.at> <838uu4cq11.fsf@gnu.org> <52E3D131.2090705@gmx.at> <20140125202721.GA3630@acm.acm> <83eh3vbeav.fsf@gnu.org> <20140126095447.GB2646@acm.acm> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1390754057 26604 80.91.229.3 (26 Jan 2014 16:34:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 16:34:17 +0000 (UTC) Cc: 16526@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 26 17:34:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1W7Sf8-0006k2-IL for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jan 2014 17:34:22 +0100 Original-Received: from localhost ([::1]:55352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Sf8-0008GG-3T for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jan 2014 11:34:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Sey-0008Fk-JK for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2014 11:34:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7Set-0001W4-U9 for bug-gnu-emacs@gnu.org; Sun, 26 Jan 2014 11:34:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Seo-0001Ve-M9; Sun, 26 Jan 2014 11:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W7Seo-0002rT-6J; Sun, 26 Jan 2014 11:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 26 Jan 2014 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16526 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 16526-submit@debbugs.gnu.org id=B16526.139075400510953 (code B ref 16526); Sun, 26 Jan 2014 16:34:02 +0000 Original-Received: (at 16526) by debbugs.gnu.org; 26 Jan 2014 16:33:25 +0000 Original-Received: from localhost ([127.0.0.1]:36754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7SeD-0002qa-2i for submit@debbugs.gnu.org; Sun, 26 Jan 2014 11:33:25 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42707) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7SeA-0002qN-1y for 16526@debbugs.gnu.org; Sun, 26 Jan 2014 11:33:23 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N0000F00OHAI000@a-mtaout20.012.net.il> for 16526@debbugs.gnu.org; Sun, 26 Jan 2014 18:33:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0000FRDONJCI50@a-mtaout20.012.net.il>; Sun, 26 Jan 2014 18:33:20 +0200 (IST) In-reply-to: <20140126095447.GB2646@acm.acm> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84043 Archived-At: > Date: Sun, 26 Jan 2014 09:54:47 +0000 > Cc: rudalics@gmx.at, 16526@debbugs.gnu.org > From: Alan Mackenzie > > > How do you configure your build? Can you show the exact configure and > > make commands you use? > > ./configure --with-gif=no --with-tiff=no --with-gpm > time make -j5 bootstrap Try this instead, and be amazed: CFLAGS='-O0 -g3' ./configure --with-gif=no --with-tiff=no --with-gpm --enable-checking='yes,glyphs' make -j5 IOW, force an unoptimized build, and add some diagnostics code to the display engine. My testing indicates that -O0 more than doubles the run time in this case, and --enable-checking doubles it some more -- for a total factor of 5 to 6. I get about 7 sec in an optimized version, and about 40 sec in the one configured as above. (In general, I believe that every Emacs developer who does something that can affect redisplay should always run an unoptimized build -- this will make any inefficiencies stand out very clearly.) See my other message with some results of digging into this problem; hopefully, you will be able to pick up where I left off. > There's no way that something so massive at the syntax.c level can > be cheated by a crafty configure option. ;-( Well, evidently it can.