From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan-W. Hahn" Newsgroups: gmane.emacs.bugs Subject: bug#16830: [Bug] 24.3.50; massive slow down in forward-line Date: Sat, 22 Feb 2014 12:08:58 +0100 Organization: -no organization- Message-ID: <20140222110857.GF27381@pille.home> References: <20140221121606.GO7560@pille.home> <83lhx44pep.fsf@gnu.org> <20140221155119.GP7560@pille.home> <20140222083926.GC27381@pille.home> <838ut34ib3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1393067415 9829 80.91.229.3 (22 Feb 2014 11:10:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 11:10:15 +0000 (UTC) Cc: 16830@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 22 12:10:22 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 1WHATN-0003eH-QW for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 12:10:21 +0100 Original-Received: from localhost ([::1]:49064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHATN-0003bq-CC for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 06:10:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHATD-0003bb-BS for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:10:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHAT6-0003a9-1O for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:10:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHAT5-0003ZQ-V2 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHAT4-0007M8-Sd for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 06:10:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Stefan-W. Hahn" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Feb 2014 11:10:02 +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.139306735728120 (code B ref 16830); Sat, 22 Feb 2014 11:10:02 +0000 Original-Received: (at 16830) by debbugs.gnu.org; 22 Feb 2014 11:09:17 +0000 Original-Received: from localhost ([127.0.0.1]:35390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHASK-0007JS-V9 for submit@debbugs.gnu.org; Sat, 22 Feb 2014 06:09:17 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:64632) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHASG-0007Ik-ST for 16830@debbugs.gnu.org; Sat, 22 Feb 2014 06:09:13 -0500 Original-Received: from pille.home (port-92-205-27-166.dynamic.qsc.de [92.205.27.166]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0MejLU-1Wb3ot1TrM-00OCqp; Sat, 22 Feb 2014 12:09:03 +0100 Original-Received: from pille.home (localhost [127.0.0.1]) by pille.home (8.14.4/8.14.4/Debian-4) with ESMTP id s1MB90gI015204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 22 Feb 2014 12:09:01 +0100 Original-Received: (from hs@localhost) by pille.home (8.14.4/8.14.4/Submit) id s1MB8wsg015203; Sat, 22 Feb 2014 12:08:58 +0100 X-Authentication-Warning: pille.home: hs set sender to stefan.hahn@s-hahn.de using -f Content-Disposition: inline In-Reply-To: <838ut34ib3.fsf@gnu.org> X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe, Germany, Wolfenbuettel X-GPG-Public-Key: gpg --keyserver keys.gnupg.net --recv-keys E4FCD563 X-GPG-Fingerprint: 0xE4FCD563 / EF09 97BB 3731 7DC7 25BA 5C39 185C F986 E4FC D563 User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V02:K0:mgVdM4UwgGUVf/2+4o5CSL6wPfxDNykqakAwZEZzVC/ Mh7z/2K+f+/1D64JU0jrWppa1fA22ksNja2w4QhpuK9Lh7rGYg 4uIuoGHeYtDSc7DUDn9+ZR5sIuSIBziNO2JTeOFCCjNtt/oh9t 7KTZEACyQ37FlLjXvHfPLKwZk5GXYmOsIsKlRkcw0NlXlxnRSF tvwYyxFeZ0oXkPP3O6aQoRTLpXK62gvIxoIcPLFNuYVwHWS9Xf ZBRrR+asgQXfW3PpKpmAjAsSRWfBEssS3Aw/NvsNpyArLXPeps FZPur2W8jOS65p4dYh+ZzLBNnetMke92MQW6gCJoFRmZLrM3Uc cJMYmyC577KfrcZulo3s= 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:86012 Archived-At: Mail von Eli Zaretskii, Sat, 22 Feb 2014 at 11:18:08 +0200: Hello, > > But anyway it is compared to an older emacs where it takes less then a > > second to update the table. > > OK, I can confirm the slow-down. The profile points to forward-line, > so I disabled cache-long-scans, and -- lo and behold -- the slowdown > went away. So this should be the workaround for the time being. Sounds good. Is it right that I can set this variable globally only by installing a function setting it in find-file-hook? I tested it that way with my original file. (elp-instrument-package org; elp-result for org-ctrl-c-ctrl-c) 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. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.