From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Slow movement in large buffers Date: Tue, 15 Mar 2011 10:15:47 -0400 Message-ID: <7205.1300198547@alphaville.dokosmarshall.org> References: <87d3ltjc8x.fsf@fastmail.fm> <17242340-A14F-495A-B144-20C96D52B620@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=46310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzV2h-00078F-VK for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 10:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzV2f-0003Pa-5f for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 10:16:11 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:46941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzV2f-0003PT-0p for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 10:16:09 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LI300HNGRMBMP70@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 09:15:54 -0500 (CDT) In-reply-to: Message from Carsten Dominik of "Tue, 15 Mar 2011 12:18:51 BST." <17242340-A14F-495A-B144-20C96D52B620@gmail.com> 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: Carsten Dominik Cc: Matt Lundin , Org Mode , nicholas.dokos@hp.com Carsten Dominik wrote: > > On Mar 15, 2011, at 4:25 AM, Matt Lundin wrote: > > > 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: > > > > --8<---------------cut here---------------start------------->8--- > > next-line 1 3.015289 3.015289 > > --8<---------------cut here---------------end--------------->8--- > > > > Wow, this is really bad. > Could you use elp and instrument org, outline, > and font-lock, and do that motion and report > the results? > > > In my experience, the maximum workable size of org files is around > > 10,000 lines. Beyond that, Emacs starts to spin its wheels. > > Not good at all. > > - Carsten > > > > > 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 > > FWIW, I opened org-issues.org and followed Matt's lead: at first, I got almost instant response going from Other to Closed (using arrow-down) and a slight hesitation (< 0.5s) going from Other to the previous headline (Development Tasks). After noodling around for a while (including the motions that Eric F. suggested and getting no delays there), I tried it again and could discern no delay going either way. And I do run flyspell in org buffers. This is on a fairly recent vintage laptop with an i7 quad core processor (2.67GHz) and 4G of memory. That probably explains some of the difference I see. Matt, what kind of hardware are you using? Nick