From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20961: 24.5; `dired-jump' quite slow under Cygwin Emacs Date: Thu, 02 Jul 2015 17:57:42 +0300 Message-ID: <83bnfu1uah.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435849100 25022 80.91.229.3 (2 Jul 2015 14:58:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2015 14:58:20 +0000 (UTC) Cc: 20961@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 02 16:58:11 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 1ZAfwG-0005CJ-Pf for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 16:58:08 +0200 Original-Received: from localhost ([::1]:37103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfwG-0002GC-8s for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 10:58:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfwD-0002Fu-54 for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAfwA-000573-ET for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:58:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAfwA-00056x-B1 for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAfw9-0005PQ-Ri for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 10:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jul 2015 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20961 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20961-submit@debbugs.gnu.org id=B20961.143584906120765 (code B ref 20961); Thu, 02 Jul 2015 14:58:01 +0000 Original-Received: (at 20961) by debbugs.gnu.org; 2 Jul 2015 14:57:41 +0000 Original-Received: from localhost ([127.0.0.1]:37796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAfvp-0005Oq-7b for submit@debbugs.gnu.org; Thu, 02 Jul 2015 10:57:41 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:48988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAfvm-0005Ob-6k for 20961@debbugs.gnu.org; Thu, 02 Jul 2015 10:57:39 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQV00J007P4V200@mtaout25.012.net.il> for 20961@debbugs.gnu.org; Thu, 02 Jul 2015 17:53:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQV00IFG80Y2540@mtaout25.012.net.il>; Thu, 02 Jul 2015 17:53:22 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.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@gnu.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@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104618 Archived-At: > 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. You also seem to have Helm active, so perhaps these two factors together make 'df' invocation much slower than the w32 API call.