From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Smith_RS Newsgroups: gmane.emacs.help Subject: Odd slowness in grep and dired modes Date: Thu, 20 Mar 2014 23:10:52 -0700 (PDT) Message-ID: <3a2879e3-cb96-495c-a6a4-6bb790449477@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395382511 26854 80.91.229.3 (21 Mar 2014 06:15:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2014 06:15:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 21 07:15:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQsje-00008y-6y for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2014 07:15:18 +0100 Original-Received: from localhost ([::1]:50863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQsjd-0006ZQ-Lp for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Mar 2014 02:15:17 -0400 X-Received: by 10.66.183.239 with SMTP id ep15mr19206706pac.7.1395382252224; Thu, 20 Mar 2014 23:10:52 -0700 (PDT) X-Received: by 10.140.95.114 with SMTP id h105mr12556qge.22.1395382252162; Thu, 20 Mar 2014 23:10:52 -0700 (PDT) Original-Path: usenet.stanford.edu!ur14no11054315igb.0!news-out.google.com!du2ni10182qab.0!nntp.google.com!w5no6846901qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=12.189.199.68; posting-account=FPshOQoAAABhQbXLwYlqquO5tX-UXyrO Original-NNTP-Posting-Host: 12.189.199.68 User-Agent: G2/1.0 Injection-Date: Fri, 21 Mar 2014 06:10:52 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204386 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96658 Archived-At: 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 CP= U cycles, the common behavior is directory browsing in dired or file browsi= ng in grep-mode where the mouse-over behavior is being used. I ran the prof= iler 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 mou= se-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 fil= es. - Continue as above. I ran with Procmon, there is no specific I/O or registry activity during th= is slowness that I can trace. I tried this under Linux, I see the calls to mouse-fixup-help-message but i= t doesn't jack the CPU like on Windows. Any thoughts or ways to debug this are appreciated, as always. Thanks.