From: Nick Dokos <nicholas.dokos@hp.com>
To: Rainer Stengele <rainer.stengele@diplan.de>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org,
Eric S Fraga <ucecesf@ucl.ac.uk>
Subject: Re: moving in the agenda view is slow
Date: Sat, 27 Nov 2010 12:00:32 -0500 [thread overview]
Message-ID: <589.1290877232@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Rainer Stengele <rainer.stengele@diplan.de> of "Sat, 27 Nov 2010 12:21:52 +0100." <4CF0E9D0.3010302@diplan.de>
Rainer Stengele <rainer.stengele@diplan.de> wrote:
> What I did:
> open the agenda view
>
> M-x elp-instrument-package <RET> org <RET
> several "n"s - delays are there - same on linux (V23.2.1) and windows emacs
> M-x elp-results
>
>
> org-agenda-next-line 79 4.004141 0.0506853291
> org-agenda-do-context-action 79 0.0013609999 1.722...e-05
> org-unhighlight 81 0.0009170000 1.132...e-05
> org-get-at-bol 79 0.000473 5.987...e-06
> org-detach-overlay 81 0.0002689999 3.320...e-06
> org-agenda-post-command-hook 81 0.0002449999 3.024...e-06
>
> strange, why do I not get more details?
Why are there 79 calls to org-agenda-next-line? AFAIK, there should be
just one for each "n" pressed. Maybe do M-x elp-reset-all, then press
"n", and M-x elp-results?
The thing is that org-agenda-next-line is very simple:
,----
| (defun org-agenda-next-line ()
| "Move cursor to the next line, and show if follow mode is active."
| (interactive)
| (call-interactively 'next-line)
| (org-agenda-do-context-action))
`----
and the calls to org-agend-do-context-action don't amount to much, so
essentially all of the time must be spent in the (call-interactively
'next-line).
Maybe M-x elp-instrument-function <RET> next-line <RET> will give some
more clues. I assume call-interactively cannot be instrumented by elp
since it's in C.
Nick
next prev parent reply other threads:[~2010-11-27 17:00 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 [this message]
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
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=589.1290877232@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=rainer.stengele@diplan.de \
--cc=ucecesf@ucl.ac.uk \
/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).