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#16830: [Bug] 24.3.50; massive slow down in forward-line Date: Sat, 22 Feb 2014 13:36:17 +0200 Message-ID: <83zjlj2xce.fsf@gnu.org> References: <20140221121606.GO7560@pille.home> <83lhx44pep.fsf@gnu.org> <20140221155119.GP7560@pille.home> <20140222083926.GC27381@pille.home> <838ut34ib3.fsf@gnu.org> <20140222110857.GF27381@pille.home> <831tyv4c7n.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1393069032 25702 80.91.229.3 (22 Feb 2014 11:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 11:37:12 +0000 (UTC) Cc: 16830@debbugs.gnu.org To: stefan.hahn@s-hahn.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 22 12:37:17 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 1WHAtR-0000wf-0m for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 12:37:17 +0100 Original-Received: from localhost ([::1]:49131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHAtQ-00005p-FE for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 06:37:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHAtI-00005f-Bh for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:37:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHAtC-00031m-Ha for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:37:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHAtC-00031U-E0 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHAtB-0000R9-Uk for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2014 11:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16830-submit@debbugs.gnu.org id=B16830.13930689671587 (code B ref 16830); Sat, 22 Feb 2014 11:37:01 +0000 Original-Received: (at 16830) by debbugs.gnu.org; 22 Feb 2014 11:36:07 +0000 Original-Received: from localhost ([127.0.0.1]:35408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHAsJ-0000PX-6i for submit@debbugs.gnu.org; Sat, 22 Feb 2014 06:36:07 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:50777) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHAsG-0000Os-Ml for 16830@debbugs.gnu.org; Sat, 22 Feb 2014 06:36:05 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1E00400AM2UT00@mtaout28.012.net.il> for 16830@debbugs.gnu.org; Sat, 22 Feb 2014 13:36:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1E00MB0AWXBE80@mtaout28.012.net.il>; Sat, 22 Feb 2014 13:36:33 +0200 (IST) In-reply-to: <831tyv4c7n.fsf@gnu.org> 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:86014 Archived-At: > Date: Sat, 22 Feb 2014 13:29:48 +0200 > From: Eli Zaretskii > Cc: 16830@debbugs.gnu.org > > > emacs 24.3.50.1 2.083 sec (cache-long-scans nil, set by file-find-hook) > > emacs 24.3.1 0.758 sec (cache-long-line-scan nil; as it was) > > > > So it is better, but not so good as in the old emacs. > > I see no difference in the code that could justify this, and on my > system "C-c C-c" in both versions completes in the same time after > disabling the caching, certainly much faster than 2 sec. So I don't > see how such a 2.5 factor could be explained, except perhaps by some > additional local customizations on your system (I tested in "emacs -Q"). Actually, I _can_ think of one possible reason for this difference: compiler optimizations. If the 24.3.50.1 binary was compiled without optimizations, it can definitely be about 2 times slower than an optimized build of 24.3.1. What is the value of system-configuration and system-configuration-options in both builds?