From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: moving in the agenda view is slow Date: Sun, 28 Nov 2010 17:11:00 -0500 Message-ID: <6610.1290982260@gamaville.dokosmarshall.org> References: <877hfzbsaj.fsf@pinto.chemeng.ucl.ac.uk> <32269.1290826390@gamaville.dokosmarshall.org> <4CF0E9D0.3010302@diplan.de> <589.1290877232@gamaville.dokosmarshall.org> <4CF14D17.1010905@online.de> <11315.1290885811@gamaville.dokosmarshall.org> <4CF1740B.6030405@online.de> <2516.1290904225@gamaville.dokosmarshall.org> <4CF2A1BE.7020306@online.de> <28338.1290974493@gamaville.dokosmarshall.org> <87mxot5hjx.fsf@ucl.ac.uk> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=45678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMpSk-0002Bu-O0 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 17:11:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMpSi-0003FO-VK for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 17:11:14 -0500 Received: from vms173013pub.verizon.net ([206.46.173.13]:42443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PMpSi-0003FI-QY for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 17:11:12 -0500 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LCM002688ABFRD0@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 16:10:59 -0600 (CST) In-reply-to: Message from Eric S Fraga of "Sun, 28 Nov 2010 20:17:38 GMT." <87mxot5hjx.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: emacs-orgmode@gnu.org, Rainer Stengele , nicholas.dokos@hp.com, Rainer Stengele Eric S Fraga wrote: > Okay, here are mine for 11 presses of the n command: > > --8<---------------cut here---------------start------------->8--- > org-agenda-next-line 11 0.063334 0.0057576363 > next-line 11 0.033 0.003 > org-agenda-do-context-action 11 0.0301619999 0.0027419999 > org-display-outline-path 11 0.029602 0.0026910909 > org-get-outline-path 11 0.0232590000 0.0021144545 > org-up-heading-safe 44 0.0222319999 0.0005052727 > org-back-to-heading 44 0.0007169999 1.629...e-05 > org-format-outline-path 11 0.0004849999 4.409...e-05 > org-outline-level 77 0.0004790000 6.220...e-06 > org-unhighlight 15 0.0001899999 1.266...e-05 > org-add-props 33 9.399...e-05 2.848...e-06 > org-agenda-post-command-hook 15 4.499...e-05 2.999...e-06 > org-get-at-bol 11 3.9e-05 3.545...e-06 > org-detach-overlay 15 3.4e-05 2.266...e-06 > --8<---------------cut here---------------end--------------->8--- > > I'm not sure what conclusions to draw from here (but, again, this is on > my home system which seems much faster than my office system despite > being a slower computer with less memory etc). > > > PS Incidentally, note that in my case the next-line times account for > > about 40% of the org-agenda-next-line times: the other 60% is accounted > > for by org-agenda-do-context-action. In your original profile, the latter > > was insignificant: that's why I'd like to see the next-line results. > > And in mine, next-line is >50% of the time with the remainder being > org-agenda-do-context-action. What does this mean? > It's qualitatively different from Rainer's original profile. org-agenda-next-line calls next-line and then org-agenda-do-context-action. In Rainer's profile, the latter took almost no time, whereas in your faster system and also in mine, there is a roughly 50/50 (or 40/60) split. In Rainer's later profiles, it's a 100/0 split. That, along with the fact that the whole thing takes much longer (somewhere from 10x to 50x[fn:1]) leads to the conclusion that probably something is busted in next-line. So it doesn't mean much: just gathering sticks for now and maybe we can build a house with them (then again, maybe not). > In any case, I will try all of this on Tuesday on my office system. I'd be very interested to learn what you find out. Thanks, Nick Footnotes: [fn:1] this kind of variance bothers me, but I guess I'll have to live with it.