[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: moving in the agenda view is slow
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] Re: moving in the agenda view is slow |
Date: |
Sun, 28 Nov 2010 20:17:38 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Nick Dokos <address@hidden> writes:
[...]
> I just tried the following sequence:
>
> o Start a new emacs
> o M-x elp-instrument-package <RET> org <RET>
> o M-x elp-instrument-function <RET> next-line <RET>
> o C-c a a to get an agenda
> o M-x elp-reset-all
> o Press "n" 11 times (I just went over all the items for today).
> o M-x elp-results
>
> and I get the following results:
>
> org-agenda-next-line 11 0.0126380000 0.0011489090
> org-agenda-do-context-action 11 0.0073120000 0.0006647272
> org-display-outline-path 10 0.006614 0.0006614
> next-line 11 0.005075 0.0004613636
> org-get-outline-path 10 0.0028759999 0.0002875999
> org-up-heading-safe 20 0.0023870000 0.0001193500
> org-back-to-heading 20 0.000652 3.26e-05
> org-format-outline-path 10 0.0003160000 3.16e-05
> org-unhighlight 12 0.00023 1.916...e-05
> org-outline-level 30 0.0001790000 5.966...e-06
> org-add-props 10 7.199...e-05 7.199...e-06
> org-get-at-bol 11 6e-05 5.454...e-06
> org-detach-overlay 12 5.600...e-05 4.666...e-06
> org-agenda-post-command-hook 12 4.199...e-05 3.499...e-06
>
> Can you try this and let me know if it's not working the same way?
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?
In any case, I will try all of this on Tuesday on my office system.
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.148.gc3b7e)
- Re: [Orgmode] moving in the agenda view is slow, (continued)
- Re: [Orgmode] moving in the agenda view is slow, Rainer Stengele, 2010/11/27
- Re: [Orgmode] moving in the agenda view is slow, Nick Dokos, 2010/11/27
- [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/27
- [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/27
- [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/27
- Re: [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/27
- Re: [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/28
- Re: [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/28
- Re: [Orgmode] Re: moving in the agenda view is slow,
Eric S Fraga <=
- Re: [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Eric S Fraga, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/28
- [Orgmode] Re: moving in the agenda view is slow, Eric S Fraga, 2010/11/28
- Re: [Orgmode] Re: moving in the agenda view is slow, Nick Dokos, 2010/11/28
- Re: [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/29
- [Orgmode] Re: moving in the agenda view is slow, Rainer Stengele, 2010/11/29