emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: #+STARTUP: overview and org-startup-folded have no effect [7.9.3e (7.9.3e-1032-g791a8d @ /home/horn/Repos/el/org-mode/lisp/)]
Date: Thu, 14 Feb 2013 19:42:20 +0100	[thread overview]
Message-ID: <87bobmzqib.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87pq03fdul.fsf@bzg.ath.cx

Bastien <bzg@altern.org> writes:

Hi Bastien,

>> It's an optimization done by Bastien.
>
> I think it's fine to have this by default, the time spared is worth it
> IMHO.  But I understand many people may want to turn this off.
>
>> There is a variable to inhibit it.
>
> (setq org-agenda-inhibit-startup nil)
>
> If you don't want the optimization.

I've done the performance measurements you've requested in Message-ID:
<87ehgjgmiv.fsf@thinkpad.tsdh.de>.  For me, the "optimized" version is
by no means faster than the `org-agenda-inhibit-startup' set to nil.

If you reproduce the measurements on your machine and it turns out that
you get results inverse to mine, I'm happy to help debugging where the
differences come from.

> In general, it's worth sticking to the default behavior if you have
> many agenda files.  If you have only a few, the setting above may be
> preferable.

My measurements were performed with my 7 normal agenda files + one
synthetically constructed.  1 top-level headline with 8000 child TODO
items, and then triggering the TODO agenda (and also the week agenda).
That's what you've requested in <87vc9vdwx7.fsf@bzg.ath.cx>.

Bye,
Tassilo

  reply	other threads:[~2013-02-14 18:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14  9:08 Bug: #+STARTUP: overview and org-startup-folded have no effect [7.9.3e (7.9.3e-1032-g791a8d @ /home/horn/Repos/el/org-mode/lisp/)] Tassilo Horn
2013-02-14  9:12 ` Sebastien Vauban
2013-02-14  9:23   ` Bastien
2013-02-14 18:42     ` Tassilo Horn [this message]
2013-02-14  9:24   ` Tassilo Horn
2013-02-14  9:42     ` Bastien
2013-02-14 10:05       ` Tassilo Horn
2013-02-14 10:14         ` Bastien
2013-02-14 11:31           ` Tassilo Horn
2013-03-06  9:26             ` Bastien
2013-03-06 10:13               ` Tassilo Horn
2013-02-14  9:19 ` Tassilo Horn
2013-02-14 10:00   ` Bastien
2013-02-14 10:18     ` Tassilo Horn

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=87bobmzqib.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --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 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).