unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Odd slowness in grep and dired modes
@ 2014-03-21  6:10 Smith_RS
  2014-03-21  8:13 ` Eli Zaretskii
       [not found] ` <mailman.17728.1395389591.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Smith_RS @ 2014-03-21  6:10 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-21 17:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21  6:10 Odd slowness in grep and dired modes Smith_RS
2014-03-21  8:13 ` 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

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).