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 13:27:47 +0100 Organization: -no organization- Message-ID: <20140222122747.GH27381@pille.home> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1393072153 24945 80.91.229.3 (22 Feb 2014 12:29:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 12:29:13 +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 13:29:21 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 1WHBho-0006Hl-6a for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 13:29:20 +0100 Original-Received: from localhost ([::1]:49289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHBhn-0007Fc-JP for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 07:29:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHBhe-0007FP-B2 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 07:29:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHBhX-0001pY-0D for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 07:29:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHBhW-0001pS-T6 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 07:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHBhW-0001sv-Cx for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2014 07:29:02 -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 12:29: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.13930720837161 (code B ref 16830); Sat, 22 Feb 2014 12:29:02 +0000 Original-Received: (at 16830) by debbugs.gnu.org; 22 Feb 2014 12:28:03 +0000 Original-Received: from localhost ([127.0.0.1]:35430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHBgY-0001rQ-Kg for submit@debbugs.gnu.org; Sat, 22 Feb 2014 07:28:03 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:49212) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHBgW-0001qt-6v for 16830@debbugs.gnu.org; Sat, 22 Feb 2014 07:28:01 -0500 Original-Received: from pille.home (port-92-205-27-166.dynamic.qsc.de [92.205.27.166]) by mrelayeu.kundenserver.de (node=mreue006) with ESMTP (Nemesis) id 0LtQnI-1XHqOR1Ido-010pfy; Sat, 22 Feb 2014 13:27:51 +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 s1MCRmdh017523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 22 Feb 2014 13:27:49 +0100 Original-Received: (from hs@localhost) by pille.home (8.14.4/8.14.4/Submit) id s1MCRlBP017522; Sat, 22 Feb 2014 13:27:47 +0100 X-Authentication-Warning: pille.home: hs set sender to stefan.hahn@s-hahn.de using -f Content-Disposition: inline In-Reply-To: <831tyv4c7n.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:/IjhYYbf1fs62Fkp2/krDki35JcgAtEoUFhPgxraiwd MKkU+KcSlrw2UytxymgFjkT/1lT6aBRJJ5PrvI9KF9nWEt4MsP sXzS4jIoJRhlOV2WQ9Zb3DwxGzdZ3AmHFsag+IMw7/PUXOO/Bb 7zT/f6XRZtdh1Gx4eYdZCt46Pw1uAJHoBagXv0kO2eRwLcvsNj ZolVkVD3j4R2uBTi8FMwLiV1ndnzimMxZN/H3AF2uUNgpmSakZ cwc9e0dTrU1Jk0mWXpzLFuKj5JkGz2K3hgyyPg6CDaYqeDyugu mHzmtX0A0OfO/5gd7owEWaIH9mq6emO3ny3B4kZwU8pNLCEqE2 2hntZj0GIQujWHKEsXhI= 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:86015 Archived-At: Mail von Eli Zaretskii, Sat, 22 Feb 2014 at 13:29:48 +0200: Hello, > Doesn't sound like a good idea to me: that would disable the caching > for much more than this Org file, or even just Org files, right? I > would suggest to selectively disable caching only for those files that Ok. > > 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. > > 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"). Argh... you're right, here the measurement with "emacs -Q": (elp-instrument-package org; elp-result for org-ctrl-c-ctrl-c) my original org-mode file: emacs 24.3.50.1 2.065 sec (cache-long-scans nil, set local) emacs 24.3.1 0.722 sec (cache-long-line-scan nil; as it was) test-neuter.org: emacs 24.3.50.1 0.925 sec (cache-long-scans nil, set local) emacs 24.3.1 0.381 sec (cache-long-line-scan nil; as it was) With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.