From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs Slowdown
Date: Mon, 09 Mar 2015 17:59:38 -0400 [thread overview]
Message-ID: <jwvd24hc028.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87pp8i75nk.fsf@newcastle.ac.uk
> 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).
> (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).
Stefan
next prev parent reply other threads:[~2015-03-09 21:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 11:48 Emacs Slowdown Phillip Lord
2015-03-09 16:16 ` Eli Zaretskii
2015-03-09 21:50 ` Stefan Monnier
2015-03-10 12:37 ` Phillip Lord
2015-03-10 19:00 ` Eli Zaretskii
2015-03-09 21:59 ` Stefan Monnier [this message]
2015-03-10 12:39 ` Phillip Lord
2015-03-10 13:22 ` Stefan Monnier
2015-03-12 11:36 ` Phillip Lord
2015-03-16 11:41 ` Phillip Lord
2015-03-16 12:36 ` Stefan Monnier
2015-03-16 16:51 ` Phillip Lord
2015-03-18 12:23 ` Phillip Lord
2015-03-18 12:44 ` Stefan Monnier
2015-03-18 14:13 ` Phillip Lord
2015-03-18 14:53 ` Stefan Monnier
2015-03-18 16:34 ` Phillip Lord
2015-03-18 16:32 ` Eli Zaretskii
2015-03-18 17:04 ` Phillip Lord
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd24hc028.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@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.
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).