[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Slowdown
From: |
Phillip Lord |
Subject: |
Re: Emacs Slowdown |
Date: |
Tue, 10 Mar 2015 12:39:04 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.90 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> which is a bit strange. I have no idea when "and" should be getting
>> called so much. The top of the CPU profile looks like this...
>
>> - command-execute 3996 73%
>> - call-interactively 3996 73%
>> - apply 3996 73%
>> - ad-Advice-call-interactively 3996 73%
>> - #<subr call-interactively> 3993 73%
>> - ido-find-file 2231 40%
>> - ido-file-internal 2231 40%
>> - ido-read-internal 2181 39%
>> - apply 2181 39%
>> - ad-Advice-ido-read-internal 2181 39%
>> + #<compiled 0xce6205>
>
> This looks like rather few samples. Try to take a profile of a longer
> duration with more commands (especially those you think should be very
> quick and yet take a long time).
I'll try that.
>
>> (global-font-lock-mode-check-buffers global-lentic-mode-check-buffers
>> global-pabbrev-mode-check-buffers yas-global-mode-check-buffers
>> global-eval-pulse-mode-check-buffers
>> global-auto-complete-mode-check-buffers
>> projectile-global-mode-check-buffers
>> global-wide-column-mode-check-buffers
>> wide-column-post-command-hook-function phil-show-paren-mode-check
>> winner-save-old-configurations mode-local-post-major-mode-change)
>
> Those should only appear on post-command-hook transiently (i.e. only
> after a command whose execution called a major-mode).
Ah, yes, I didn't understand the help screen correctly.
define-global-minor-mode adds to the default value and then takes these
off buffer local once they have run?
Phil
- Emacs Slowdown, Phillip Lord, 2015/03/09
- Re: Emacs Slowdown, Eli Zaretskii, 2015/03/09
- Re: Emacs Slowdown, Stefan Monnier, 2015/03/09
- Re: Emacs Slowdown,
Phillip Lord <=
- Re: Emacs Slowdown, Phillip Lord, 2015/03/12
- Re: Emacs Slowdown, Phillip Lord, 2015/03/16
- Re: Emacs Slowdown, Stefan Monnier, 2015/03/16
- Re: Emacs Slowdown, Phillip Lord, 2015/03/16
- Re: Emacs Slowdown, Phillip Lord, 2015/03/18
- Re: Emacs Slowdown, Stefan Monnier, 2015/03/18
- Re: Emacs Slowdown, Phillip Lord, 2015/03/18
- Re: Emacs Slowdown, Stefan Monnier, 2015/03/18
- Re: Emacs Slowdown, Phillip Lord, 2015/03/18