all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Eric S. Raymond" <esr@snark.thyrsus.com>
Cc: emacs-devel@gnu.org
Subject: Re: Hideously slow VC status queries fixed
Date: Wed, 26 Dec 2007 18:27:16 -0700	[thread overview]
Message-ID: <m3tzm5hqq3.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20071227001113.3EDFE830B6E@snark.thyrsus.com> (Eric S. Raymond's message of "Wed\, 26 Dec 2007 19\:11\:13 -0500 \(EST\)")

>>>>> "Eric" == Eric S Raymond <esr@snark.thyrsus.com> writes:

Eric> It gives me great pleasure to be able to announce that I have found,
Eric> and fixed, the bug that made C-x v d so godawful much slower than the
Eric> underlying commands.

Nice.  The speed of vc-dired is one reason I'm still using pcl-cvs
(and the un-bundled psvn) for everything.

I optimistically tried the new vc-dired on my killer test case: gcc.
I didn't try the whole trunk (since that is just way too big), but I
tried on 'trunk/gcc' -- unlike running on the whole trunk, this is a
reasonable thing to want to do since most hacking takes place here.

After a few minutes I got this:

    Warning (undo): Buffer `gcc' undo info was 3023389 bytes long.
    The undo info was discarded because it exceeded `undo-outer-limit'.

At that point I interrupted it.

'svn status' in gcc/trunk takes less than a second (when warm -- true
in both these tests).  'svn status -v' takes 12 seconds when printing
to gnome-terminal, less than 2 seconds when printing to 'wc'.

I don't know whether vc-dired is expected to scale to a working
directory with 26,499 files underneath it.  I sure wish it would :-).
FWIW neither pcl-cvs nor psvn handles this case very well either (the
psvn author helpfully provided some ideas for tweaking it, which I
haven't attempted yet).

Tom

  reply	other threads:[~2007-12-27  1:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27  0:11 Hideously slow VC status queries fixed Eric S. Raymond
2007-12-27  1:27 ` Tom Tromey [this message]
2007-12-27  2:19   ` Eric S. Raymond
2007-12-27 18:24     ` Richard Stallman
2007-12-29 19:18     ` Tom Tromey
2007-12-29 21:49       ` Eric S. Raymond
2007-12-30 21:54         ` Tom Tromey
2007-12-31  3:41           ` Eric S. Raymond
2007-12-31 19:09             ` Tom Tromey
2007-12-31 20:33               ` Eric S. Raymond
2007-12-31 20:58                 ` Dan Nicolaescu
2007-12-31 21:42                   ` Eric S. Raymond
2008-01-01 23:21                 ` Tom Tromey
2008-01-02  0:19                   ` Eric S. Raymond
2007-12-27 18:24   ` Richard Stallman
2007-12-28  9:02     ` Eric S. Raymond
2007-12-28 18:46       ` Tom Tromey
2007-12-28 19:36         ` Tom Tromey
2007-12-27  2:41 ` Dan Nicolaescu
2007-12-27  6:13   ` Alexandru Harsanyi
2007-12-27 13:21   ` Eric S. Raymond
2007-12-29  7:40     ` Stefan Monnier
2007-12-29  7:34 ` Stefan Monnier

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=m3tzm5hqq3.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    --cc=esr@snark.thyrsus.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.