help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why is my cd command on eshell on Windows so slow?


From: Eli Zaretskii
Subject: Re: why is my cd command on eshell on Windows so slow?
Date: Fri, 16 Apr 2021 21:59:55 +0300

> Date: Fri, 16 Apr 2021 15:40:29 -0300
> From:  Wayne Harris via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org>
> 
> So when I cd into a directory, I get:
> 
> %cd dir/
> 0.001 secs
> %
> 
> However, it actually took about 3 seconds for me to get my prompt back.
> There is something before cd actually operates (or afterwards) that
> makes me wait --- *sometimes*.  If I immediately ``cd ..'' and then cd
> into dir/ once again, it's pretty fast.
> 
> %which cd
> eshell/cd is a compiled Lisp function in `em-dirs.el'
> %
> 
> Can you point me in the right direction?  This is a Windows system.

Profile it, then look at the profile to see what takes most of the
time.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]