all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Smith_RS <rsmithpv@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Odd slowness in grep and dired modes
Date: Thu, 20 Mar 2014 23:10:52 -0700 (PDT)	[thread overview]
Message-ID: <3a2879e3-cb96-495c-a6a4-6bb790449477@googlegroups.com> (raw)

This is for NT Emacs 24.3.1 running on Windows 7.

I found a situation where NT Emacs will slow to a crawl and consume high CPU cycles, the common behavior is directory browsing in dired or file browsing in grep-mode where the mouse-over behavior is being used. I ran the profiler and saw that all the time is spent in mouse-fixup-help-message.

Steps to duplicate:

- Open dired on a directory with a non trivial number of files (20 or more).
- Run the mouse over the files without selecting anything, just let the mouse-over behavior happen.
- Do this with profiling turned on and observe thousands of calls to mouse-fixup-help-message.

Alternately:

- Use grep-mode to search for a string that occurs in a large number of files.
- Continue as above.

I ran with Procmon, there is no specific I/O or registry activity during this slowness that I can trace.

I tried this under Linux, I see the calls to mouse-fixup-help-message but it doesn't jack the CPU like on Windows.

Any thoughts or ways to debug this are appreciated, as always.

Thanks.


             reply	other threads:[~2014-03-21  6:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21  6:10 Smith_RS [this message]
2014-03-21  8:13 ` Odd slowness in grep and dired modes Eli Zaretskii
     [not found] ` <mailman.17728.1395389591.10748.help-gnu-emacs@gnu.org>
2014-03-21  8:25   ` Smith_RS
2014-03-21  8:57     ` Eli Zaretskii
2014-03-21 14:39     ` Drew Adams
     [not found]     ` <mailman.17734.1395392229.10748.help-gnu-emacs@gnu.org>
2014-03-21 16:41       ` Smith_RS
2014-03-21 16:54         ` Eli Zaretskii
     [not found]         ` <mailman.17774.1395420855.10748.help-gnu-emacs@gnu.org>
2014-03-21 17:26           ` Smith_RS
     [not found]     ` <mailman.17763.1395412779.10748.help-gnu-emacs@gnu.org>
2014-03-21 17:09       ` Smith_RS

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=3a2879e3-cb96-495c-a6a4-6bb790449477@googlegroups.com \
    --to=rsmithpv@gmail.com \
    --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.
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.