emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Michael Welle <mwe012008@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Performance problem
Date: Mon, 23 May 2011 07:50:57 -0400	[thread overview]
Message-ID: <87ei3pfxem.fsf@fastmail.fm> (raw)
In-Reply-To: <22fpa8xo1v.ln2@news.c0t0d0s0.de> (Michael Welle's message of "Mon, 23 May 2011 09:30:42 +0200")

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?

> 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?

> 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

Best,
Matt

> Building the agenda results in more than 60k stat syscalls. Mostly
> /etc/localtime is stat'ted and the org files. That is strange, but not
> different if all works as expected.

  reply	other threads:[~2011-05-23 11:51 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 [this message]
2011-05-23 12:32   ` Michael Welle
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

  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=87ei3pfxem.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mwe012008@gmx.net \
    /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).