From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Performance issues after upgrading from Emacs 23.3 to 24.3
Date: Thu, 9 Jan 2014 21:24:33 +0100 [thread overview]
Message-ID: <2014-01-09T21-15-19@devnull.Karl-Voit.at> (raw)
In-Reply-To: 871u0h9c6z.fsf@gmail.com
Hi Nicolas!
* Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>
> Hello,
>
> Karl Voit <devnull@Karl-Voit.at> writes:
>
>> IMHO, the profiler reports showed a common pattern: a reasonable
>> amount of CPU got into line-number-at-pos if I read the profiler
>> report correctly. (see below)
>
> Does the following patch improve the situation?
Yes!
M-<up>/<down> of list item is fast again.
Re-calculate table is fast again.
Wohoo! :-) Thanks!
However, M-<up>/<down> of a big heading is still slow (see profile
below). Probably, I am able to find other examples of slow behavior
on the weekend, where I am using the Linux-machine that has the
issue.
profiler-report (CPU) of ~M-<down>~ of a heading containing
approx. 20000 lines of appointments and notes without prelude and
with patch:
#+BEGIN_EXAMPLE
- command-execute 84760 70%
- call-interactively 84760 70%
- org-metaup 83960 69%
- call-interactively 83960 69%
- org-move-subtree-up 83960 69%
- org-move-subtree-down 83924 69%
- insert-before-markers 83308 69%
- org-indent-refresh-maybe 83300 69%
- org-indent-add-properties 82729 68%
- org-at-item-p 73452 61%
- org-list-in-valid-context-p 69849 58%
- org-in-block-p 69841 58%
- byte-code 69781 58%
- mapc 63655 53%
- #<compiled 0x8ce3c3> 63595 52%
- org-between-regexps-p 63467 52%
- org-at-regexp-p 32900 27%
byte-code 32817 27%
byte-code 12 0%
outline-previous-heading 2885 2%
outline-next-heading 2785 2%
org-list-item-body-column 857 0%
org-get-indentation 8 0%
org-element--cache-before-change 4 0%
jit-lock-after-change 4 0%
+ org-clean-visibility-after-subtree-move 572 0%
+ outline-end-of-subtree 12 0%
+ hide-subtree 12 0%
+ byte-code 784 0%
+ minibuffer-complete 8 0%
+ execute-extended-command 8 0%
- timer-event-handler 34748 28%
- byte-code 34748 28%
- apply 34748 28%
- org-indent-initialize-agent 34748 28%
- org-indent-initialize-buffer 34748 28%
- byte-code 34748 28%
- org-indent-add-properties 30627 25%
- org-at-item-p 22699 18%
- org-list-in-valid-context-p 20136 16%
- org-in-block-p 20136 16%
- byte-code 20040 16%
- mapc 17820 14%
- #<compiled 0x8ce3c3> 17772 14%
- org-between-regexps-p 17705 14%
- org-at-regexp-p 9070 7%
byte-code 9040 7%
byte-code 4 0%
outline-previous-heading 1031 0%
outline-next-heading 969 0%
org-get-indentation 524 0%
org-list-item-body-column 476 0%
org-inlinetask-in-task-p 23 0%
+ byte-code 12 0%
+ ... 475 0%
+ redisplay_internal (C function) 12 0%
#+END_EXAMPLE
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
next prev parent reply other threads:[~2014-01-09 20:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 16:54 Performance issues after upgrading from Emacs 23.3 to 24.3+prelude Karl Voit
2014-01-07 9:19 ` Bastien
2014-01-07 13:50 ` Karl Voit
2014-01-09 16:24 ` Eric S Fraga
2014-01-09 19:17 ` Karl Voit
2014-01-09 19:39 ` Nicolas Goaziou
2014-01-09 20:24 ` Karl Voit [this message]
2014-01-09 21:10 ` Performance issues after upgrading from Emacs 23.3 to 24.3 Nicolas Goaziou
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=2014-01-09T21-15-19@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/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.