From: Michael Welle <mwe012008@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: Performance problem
Date: Mon, 23 May 2011 14:32:14 +0200 [thread overview]
Message-ID: <en0qa8x77i.ln2@news.c0t0d0s0.de> (raw)
In-Reply-To: 87ei3pfxem.fsf@fastmail.fm
Hi,
Matt Lundin <mdl@imapmail.org> writes:
> Michael Welle <mwe012008@gmx.net> writes:
>
>> I use Emacs 23.2.1 and org-mode 7.5. After some time, usually after a
>> few days of 'uptime', building an agenda becomes very sloooow.
>
> Is this the standard agenda or a custom agenda?
it's a custom agenda that collects all appointments for the next four
weeks:
( "z" "Appointments for the next four weeks" agenda ""
((org-agenda-skip-function
(lambda nil
(org-agenda-skip-entry-if 'nottodo '("APPT"))))
(org-agenda-ndays 28)
(org-agenda-include-diary nil )))
>> I expect the agenda built from 120 org file to show up within five
>> seconds.
>
> Five seconds still seems like a long time. How many lines are in your
> agenda? Are your org buffers already open when you call it? Or have you
> closed your org buffers by typing "x" in the agenda?
OK, five seconds is an upper boundary, it might take more like three
seconds or so. I count twentyone, twentytwo, ... to 'measure' the
duration of the operation. With this higly accurate method I can't
observe much difference if I started with loaded org files or not.
>> If Emacs is in the bad state it takes three minutes. Restarting Emacs
>> solves the problem.
>
>> I don't blame org-mode for that behaviour, but maybe someone of you has
>> observed such behaviour, too? Any hints on debugging?
>
> M-x elp-instrument-package org [RET]
> M-x org-agenda-list
> M-x elp-results
Ah, nice. Now I have to wait til the misbehaviour occurs again.
Regards
hmw
--
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html
Flood - Your friendly network packet generator
http://www.c0t0d0s0.de/flood/flood.html
next prev parent reply other threads:[~2011-05-23 12:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-23 7:30 Performance problem Michael Welle
2011-05-23 11:50 ` Matt Lundin
2011-05-23 12:32 ` Michael Welle [this message]
2011-05-23 17:20 ` Michael Welle
2011-05-23 18:33 ` Eric S Fraga
2011-05-23 19:26 ` Michael Welle
2011-05-24 12:47 ` Matt Lundin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=en0qa8x77i.ln2@news.c0t0d0s0.de \
--to=mwe012008@gmx.net \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.