From: Eli Zaretskii <eliz@gnu.org>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: 20961@debbugs.gnu.org
Subject: bug#20961: 24.5; `dired-jump' quite slow under Cygwin Emacs
Date: Thu, 02 Jul 2015 17:57:42 +0300 [thread overview]
Message-ID: <83bnfu1uah.fsf@gnu.org> (raw)
In-Reply-To: <vriuioa2j1mo.fsf@example.com>
> From: Sebastien Vauban <sva-news@mygooglest.com>
> 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%
> - #<compiled 0x4018ad5f> 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.
next prev parent reply other threads:[~2015-07-02 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-02 10:27 bug#20961: 24.5; `dired-jump' quite slow under Cygwin Emacs Sebastien Vauban
2015-07-02 14:57 ` Eli Zaretskii [this message]
[not found] ` <mailman.6180.1435849086.904.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.6180.1435849086.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-07-03 8:25 ` Sebastien Vauban
2016-12-07 20:24 ` Glenn Morris
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=83bnfu1uah.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20961@debbugs.gnu.org \
--cc=sva-news@mygooglest.com \
/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.