[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Performance issues after upgrading from Emacs 23.3 to 24.3
From: |
Karl Voit |
Subject: |
Re: [O] Performance issues after upgrading from Emacs 23.3 to 24.3 |
Date: |
Thu, 9 Jan 2014 21:24:33 +0100 |
User-agent: |
slrn/0.9.9 (Linux) |
Hi Nicolas!
* Nicolas Goaziou <address@hidden> wrote:
>
> Hello,
>
> Karl Voit <address@hidden> 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