From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.bugs Subject: bug#20961: 24.5; `dired-jump' quite slow under Cygwin Emacs Date: Fri, 03 Jul 2015 10:25:12 +0200 Organization: Sebastien Vauban Message-ID: <86mvzdabrr.fsf@example.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435911986 31430 80.91.229.3 (3 Jul 2015 08:26:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 08:26:26 +0000 (UTC) Cc: 20961-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Jul 03 10:26:16 2015 Return-path: Envelope-to: geb-bug-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 1ZAwIZ-0005Bg-QU for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 10:26:16 +0200 Original-Received: from localhost ([::1]:39810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAwIY-0003gZ-Q2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 04:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAwIR-0003gS-Ai for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 03 Jul 2015 04:26:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAwIM-00040D-Sx for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 03 Jul 2015 04:26:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAwIM-000406-P2 for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 03 Jul 2015 04:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAwIM-0003L8-Bq for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Fri, 03 Jul 2015 04:26:02 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: Sebastien Vauban Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Fri, 03 Jul 2015 08:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 20961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 20961-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B20961.143591193612805 (code B ref 20961); Fri, 03 Jul 2015 08:26:02 +0000 Original-Received: (at 20961) by debbugs.gnu.org; 3 Jul 2015 08:25:36 +0000 Original-Received: from localhost ([127.0.0.1]:38217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAwHv-0003KS-CM for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 03 Jul 2015 04:25:36 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:5929 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAwHs-0003KB-DE for 20961-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Fri, 03 Jul 2015 04:25:33 -0400 Original-Received: from MUNDANEUM (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTPS id 10327500758; Fri, 3 Jul 2015 10:25:26 +0200 (CEST) X-Url: Under construction... X-Archive: encrypt In-Reply-To: (Eli Zaretskii's message of "Thu, 02 Jul 2015 17:57:42 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:104644 Archived-At: Eli Zaretskii writes: >> From: Sebastien Vauban >> Date: Thu, 02 Jul 2015 12:27:11 +0200 >> >> Now that profiling works under Cygwin Emacs (thanks Ken and Eli!), I can >> report the following when playing a couple of seconds with Dired-jump >> (which I find much slower on Cygwin Emacs than on Windows Emacs). >> >> --8<---------------cut here---------------start------------->8--- >> - ... 6440 59% >> - find-file 6315 58% >> - apply 6315 58% >> - ad-Advice-find-file 6315 58% >> - let 6315 58% >> - let 6315 58% >> - setq 6315 58% >> - with-no-warnings 6315 58% >> - funcall 6315 58% >> - # 6315 58% >> - find-file-noselect 6315 58% >> - run-hook-with-args-until-success 6315 58% >> - dired-noselect 6315 58% >> - dired-internal-noselect 6315 58% >> - dired-readin 6311 58% >> - dired-readin-insert 6290 57% >> - dired-insert-directory 6290 57% >> - insert-directory 6289 57% >> - apply 6289 57% >> - ls-lisp--insert-directory 6289 57% >> - get-free-disk-space 6288 57% >> - process-file 6288 57% >> apply 6288 57% > > This seems to point to get-free-disk-space, which on Cygwin invokes > the 'df' program, whereas the native w32 build calls a function to get > the same info. I never had noticed that the "available" space was shown in Dired... Hard to read, BTW, a figure such as "10232288" (neither comma, nor abbreviation like 10.2G). And, in fact, that information could be dropped for my own usage... I'm simply interested by the contents of the directories. > You also seem to have Helm active, so perhaps these two factors > together make 'df' invocation much slower than the w32 API call. Yes, I do have Helm active, but I don't think it comes here to play -- and, in fact, it's not even reported in that part of the trace. Best regards, Seb -- Sebastien Vauban