unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-dir operation is very slow on large git repositories in Emacs 26.1
@ 2018-06-20 10:50 Alex Harsanyi
  2018-06-20 15:51 ` Eli Zaretskii
  0 siblings, 1 reply; 46+ messages in thread
From: Alex Harsanyi @ 2018-06-20 10:50 UTC (permalink / raw)
  To: emacs-devel

I have a somewhat large git repository at work (51556 files) and
Emacs 26.1 is very slow when updating the *vc-dir* buffer: I
start emacs with the "-Q -no-site-file" and it takes
approximately 2 minutes to update the vc-dir buffer. Emacs 25.2,
on the same machine and repository, will complete this operation
in a few seconds.  This is on a Windows machine and I use the
prebuilt binaries downloaded from the gnu.org website for both
versions.

The operation that takes a long time is the ls-files
operation, "git --no-pager ls-files -z -c -s --", but running
that command in a terminal completes in less than a second.

The rest of Emacs is fully responsive and I can continue editing
while the update is running in the *vc-dir* buffer.  Also other
version control operations (diff, check-in) are responsive.

I cloned the Emacs git repository (which has 3683 files) and a
vc-dir operation in Emacs 26.1 takes 7 seconds on my machine,
compared to less than 1 second in Emacs 25.2.  I noticed this
speed difference on my home computer as well.

I was wondering if others have noticed this issue?

If not, I would appreciate some suggestions on how to further
diagnose the cause of this issue, as it seems it is related to my
computer.

Thanks,
Alex.



^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2018-06-30  8:46 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-20 10:50 vc-dir operation is very slow on large git repositories in Emacs 26.1 Alex Harsanyi
2018-06-20 15:51 ` Eli Zaretskii
2018-06-20 22:33   ` Alex Harsanyi
2018-06-21 14:32     ` Eli Zaretskii
2018-06-22  1:12       ` Alex Harsanyi
2018-06-22  8:57         ` Eli Zaretskii
2018-06-22  9:46           ` Alex Harsanyi
2018-06-22 12:46           ` Alex Harsanyi
2018-06-22 18:24             ` Eli Zaretskii
2018-06-22 20:43               ` w32-pipe-read-delay (was: vc-dir operation is very slow on large git repositories in Emacs 26.1) Stefan Monnier
2018-06-23  7:21                 ` Eli Zaretskii
     [not found]                   ` <CAH-ciFrCk=pVTDUA+8F1XZSK40Wr21yzz3u=mutJ0NM3UdojNw@mail.gmail.com>
2018-06-23 13:30                     ` Fwd: " Alex Harsanyi
2018-06-23 13:32                       ` Alex Harsanyi
2018-06-23 13:40                         ` Eli Zaretskii
2018-06-23 14:00                           ` Alex Harsanyi
2018-06-23 14:31                             ` Eli Zaretskii
2018-06-30  8:46                               ` Eli Zaretskii
2018-06-25 10:40               ` vc-dir operation is very slow on large git repositories in Emacs 26.1 Alex Harsanyi
2018-06-25 11:09                 ` Bastian Beischer
2018-06-25 12:23                   ` Alex Harsanyi
2018-06-25 15:17                   ` Eli Zaretskii
2018-06-25 15:44                     ` Bastian Beischer
2018-06-25 16:23                       ` Eli Zaretskii
2018-06-25 22:28                         ` Alex Harsanyi
2018-06-25 14:51                 ` Eli Zaretskii
2018-06-22  9:04   ` Dmitry Gutov
2018-06-23 13:37     ` Eli Zaretskii
2018-06-23 18:28       ` Dmitry Gutov
2018-06-23 18:44         ` Eli Zaretskii
2018-06-25 12:55           ` Dmitry Gutov
2018-06-25 15:20             ` Eli Zaretskii
2018-06-26 15:14               ` Sergey Organov
2018-06-27  2:01                 ` Dmitry Gutov
2018-06-27  2:49                   ` Tom Tromey
2018-06-27  9:41                     ` Dmitry Gutov
2018-06-27 15:12                       ` Eli Zaretskii
2018-06-28  0:30                         ` Dmitry Gutov
2018-06-28 12:55                           ` Eli Zaretskii
2018-06-28 13:06                             ` Dmitry Gutov
2018-06-28 13:12                               ` Eli Zaretskii
2018-06-28 13:18                                 ` Dmitry Gutov
2018-06-28 13:38                                   ` Eli Zaretskii
2018-06-28 13:47                                     ` Dmitry Gutov
2018-06-28 14:00                                       ` Eli Zaretskii
2018-06-28 13:21                       ` Sergey Organov
2018-06-28 13:28                         ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).