From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Why navigating in Org mode is so slow in overview mode?
Date: Mon, 20 Jul 2015 11:49:18 +0200 [thread overview]
Message-ID: <87r3o317mp.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20150720083906.GB18553@boo.workgroup> (Gregor Zattler's message of "Mon, 20 Jul 2015 10:39:06 +0200")
Gregor Zattler <telegraph@gmx.net> writes:
> Now I think I found something specific. I do open the org-mode
> file in question with #+STARTUP: showeverything because otherwise
> it’s slow. Today I discovered org-goto. This presents the
> buffer in overview mode. So I started the profiler, started
> org-goto and typed 11 letters in order to jump to a heading.
> This takes quite some time while my notebooks fan is making noise
> and Emacs uses 100% cpu according to htop.
>
> I did this two times with the same org-mode file:
>
> - with Org-mode version 8.3beta (release_8.3beta-1291-gd6e601 @
> /home/grfz/src/org-mode/lisp/) on GNU Emacs 25.0.50.4
> (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-07-17 on boo
>
> - with Org-mode version 8.2.10 (release_8.2.10 @
> /usr/local/stow/emacs-snapshot/share/Emacs/25.0.50/lisp/org/)
> on the same version of Emacs.
>
> I do not know how to read these reports, but to me it seems, that
> most of the cpu cycles are used by org-context, org-end-of-item,
> org-list-struct and org-list-context. The memory reports do not
> seem to be of interest but I attach them for the sake of
> completeness.
I removed a call to `org-context' in
985420eceb3661aae8b1caafc95e959ab12ad1cb. Does it fix your problem?
For the record, `org-context' predates Org Elements and should
ultimately be removed from the code base.
Regards,
next prev parent reply other threads:[~2015-07-20 9:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 0:51 Why navigating in Org mode is so slow in overview mode? Q
2015-06-17 2:22 ` Q
2015-06-17 7:51 ` Nicolas Goaziou
2015-06-17 12:12 ` Gregor Zattler
2015-06-17 12:49 ` Andreas Leha
2015-06-17 14:16 ` Gregor Zattler
2015-06-17 14:09 ` Nicolas Goaziou
2015-06-20 20:49 ` Gregor Zattler
2015-06-21 9:13 ` Nicolas Goaziou
2015-06-21 9:46 ` Gregor Zattler
2015-06-23 10:49 ` Gregor Zattler
2015-06-23 20:15 ` Nicolas Goaziou
2015-07-20 8:39 ` Gregor Zattler
2015-07-20 9:49 ` Nicolas Goaziou [this message]
2015-07-20 12:32 ` Gregor Zattler
2015-06-22 8:21 ` Sebastien Vauban
2015-06-17 17:13 ` Qiang Fang
2015-06-28 11:43 ` Stefan-W. Hahn
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=87r3o317mp.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--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).