emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: nicholas.dokos@hp.com
Cc: Rainer Stengele <rainer.stengele@diplan.de>,
	Rainer Stengele <rainer.stengele@online.de>,
	emacs-orgmode@gnu.org
Subject: Re: Re: moving in the agenda view is slow
Date: Sun, 28 Nov 2010 20:17:38 +0000	[thread overview]
Message-ID: <87mxot5hjx.fsf@ucl.ac.uk> (raw)
In-Reply-To: <28338.1290974493@gamaville.dokosmarshall.org> (Nick Dokos's message of "Sun, 28 Nov 2010 15:01:33 -0500")

Nick Dokos <nicholas.dokos@hp.com> 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)

  reply	other threads:[~2010-11-28 20:17 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 16:26 moving in the agenda view is slow Rainer Stengele
2010-11-26 16:46 ` Carsten Dominik
2010-11-26 18:20   ` org-mode gnus integration across two machines when using nnimap Tommy Kelly
2010-11-26 18:35     ` Dan Christensen
2010-11-26 18:53       ` Tommy Kelly
2010-11-26 19:40         ` Dan Christensen
2010-12-14 23:07           ` Ted Zlatanov
2010-12-01 18:41     ` e20100633
2010-12-01 22:55       ` [Orgmode] " Eric S Fraga
2010-12-01 23:44         ` e20100633
2010-12-02  1:32         ` Bernt Hansen
2010-12-02  7:24           ` e20100633
2010-12-02  1:55         ` Greg Troxel
2010-12-02  2:58           ` Matt Lundin
2010-11-26 20:15 ` moving in the agenda view is slow Martin Stemplinger
2010-11-26 21:28   ` Markus Heller
2010-11-27 11:31     ` Rainer Stengele
2010-11-26 23:04 ` Eric S Fraga
2010-11-26 23:08   ` Carsten Dominik
2010-11-27  2:53   ` Nick Dokos
2010-11-27  7:09     ` Manuel Hermenegildo
2010-11-27 11:22       ` Rainer Stengele
2010-11-27 11:21     ` Rainer Stengele
2010-11-27 17:00       ` Nick Dokos
2010-11-27 18:25         ` Rainer Stengele
2010-11-27 19:23           ` Nick Dokos
2010-11-27 21:11             ` Rainer Stengele
2010-11-28  0:30               ` Nick Dokos
2010-11-28 18:38                 ` Rainer Stengele
2010-11-28 20:01                   ` Nick Dokos
2010-11-28 20:17                     ` Eric S Fraga [this message]
2010-11-28 22:11                       ` Nick Dokos
2010-11-30 12:28                       ` Eric S Fraga
2010-11-28 21:41                     ` Rainer Stengele
2010-12-15 11:47                     ` Eric S Fraga
2010-11-28 17:37               ` Eric S Fraga
2010-11-28 19:29                 ` Nick Dokos
2010-11-28 19:40                   ` Rainer Stengele
2010-11-28 21:32                     ` Nick Dokos
2010-11-28 22:12                       ` Eric S Fraga
2010-11-28 22:31                         ` Nick Dokos
2010-11-29  8:53                           ` Rainer Stengele
2010-11-29 10:51                       ` Rainer Stengele
2010-11-29 15:56                         ` Nick Dokos
2010-11-29 16:15                         ` Sébastien Vauban
2010-11-30 12:30                           ` Eric S Fraga
2010-12-01 14:18                             ` Carsten Dominik
2010-12-01 15:11                           ` moving in the agenda view is slow: solved! Rainer Stengele
2010-12-01 15:19                             ` Carsten Dominik
2010-12-01 17:30                             ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxot5hjx.fsf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=rainer.stengele@diplan.de \
    --cc=rainer.stengele@online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).