From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Slow movement in large buffers Date: Tue, 15 Mar 2011 10:58:32 +0000 Message-ID: <87wrk0r6p3.fsf@ucl.ac.uk> References: <87d3ltjc8x.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40986 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzRxY-0003Kp-7x for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 06:58:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzRxX-0007EC-2z for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 06:58:40 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:45569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzRxW-0007Dy-Tj for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 06:58:39 -0400 In-Reply-To: <87d3ltjc8x.fsf@fastmail.fm> (Matt Lundin's message of "Mon, 14 Mar 2011 23:25:50 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Lundin Cc: Org Mode Matt Lundin writes: > I've been navigating the org-issues file (14000+ lines) and have found > movement within the file to be fairly slow. Sometimes Emacs will lock up > for several seconds. > > For instance, to move from the level one heading "* Other" to "* Closed > issues" when the outline is folded takes over three seconds: > > next-line 1 3.015289 3.015289 > > In my experience, the maximum workable size of org files is around > 10,000 lines. Beyond that, Emacs starts to spin its wheels. > > Do others have the same experience? If so, does anyone have any tips on > how to diagnose this further? > > (insert "\n" emacs-version) > 23.3.1 > > (insert "\n" org-version) > 7.5 > > Best, > Matt > > Interesting. It doesn't take 3 seconds on my system (Intel(R) Pentium(R) D CPU 2.80GHz) but there is a noticeable delay using C-n to move from =* Other= to =* Closed issues=. However, using C-cC-n to move has no delay at all and moving backwards (either C-p or C-cC-p) also exhibits no delay. I have noticed significant slowness in some of my own files lately when including babel source code blocks, especially latex ones. But I haven't been able to reproduce this slowness predictably enough to instrument it and hence report it in any useful sense... still experimenting. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.38.gf8c6.dirty)