emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: moving in the agenda view is slow


From: Nick Dokos
Subject: Re: [Orgmode] Re: moving in the agenda view is slow
Date: Sun, 28 Nov 2010 17:11:00 -0500

Eric S Fraga <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]