all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: David Kastrup <dak@gnu.org>, emacs-devel@gnu.org
Subject: Re: Testing the new VC code
Date: Mon, 24 Nov 2014 21:50:54 -0500	[thread overview]
Message-ID: <20141125025054.GA20793@thyrsus.com> (raw)
In-Reply-To: <87bnnwqtfi.fsf@gmx.de>

Michael Albinus <michael.albinus@gmx.de>:
> 1. Test: Check a file not under vc
>
> Your version is even a little bit faster. IIRC, the heuristic functions
> weren't such good for Tramp, because they have used process calls
> instead of file existence checks. Tramp internal optimizations do not
> work then.

Yes, that is one reason I was expecting the change to make little difference

> 2. Test: Check a file under CVS control. The CVS repository is on
>    savannah
> 
> Your version is not bad, but a factor of 13 slower. So if you have a
> slow connection to your CVS repository, caching would help.

This is the only case turned up in your testing that concerns me.  It
may be an argument for restoring some of the state-heuristic machinery
in the CVS back end only. Or maybe not - because of your git results 
I'd need a bit more persuading.  See below.

> 4. Test: Check a file under Git control
> 
> Again, your version is slower (15%). More surprising, both versions are
> much slower than with Bzr. I guess one could improve the code for git.

This suggests that there is significant noise in your profiling, because
the git back end had no local caching to begin with.  There must be some
external source of variation.

I suspect that your test is quite sensitive to short-term fluctuations
in network latency and a lot of what you were measuring was actually
that. Otherwise the checkin running a bit *faster* would be hard to
explain.

In any case, none of the differences seem worth getting excited about.
I'll keep an eye on CVS latency, but I won't reintroduce complexity
against it unless we get complaints from real users.  With response
times of a quarter second I think that is unlikely - it's not that far 
above the minimum ergonomic threshold of 0.17sec below which humans
simply cannot notice latency at all.

(A spinal reflex arc is about 0.10 seconds.  Human nerve conduction velocity -
the "speed of thought" - is not actually very high.)
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>



  reply	other threads:[~2014-11-25  2:50 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 21:56 vc-state-heuristic is gone Unknown
2014-11-24  8:09 ` David Kastrup
2014-11-24  8:33   ` Eric S. Raymond
2014-11-24  9:02     ` David Kastrup
2014-11-24  9:49       ` Eric S. Raymond
2014-11-24 10:35         ` David Kastrup
2014-11-24 10:46           ` Eric S. Raymond
2014-11-24 11:57             ` Michael Albinus
2014-11-24 13:03               ` Testing the new VC code Eric S. Raymond
2014-11-24 18:35                 ` Steinar Bang
2014-11-24 19:05                   ` Eric S. Raymond
2014-11-25  1:52                   ` Yuri Khan
2014-11-25  2:52                     ` Eric S. Raymond
2014-11-25  4:25                       ` Stefan Monnier
2014-11-25  8:31                         ` Steinar Bang
2014-11-25  8:43                           ` Steinar Bang
2014-11-25  9:09                           ` David Kastrup
2014-11-25  9:12                             ` Steinar Bang
2014-11-25 10:03                               ` Andreas Schwab
2014-11-24 19:39                 ` Michael Albinus
2014-11-25  2:50                   ` Eric S. Raymond [this message]
2014-11-25  6:44                     ` David Kastrup
2014-11-25 13:22                       ` Ergonomics and neurology for interface designers Eric S. Raymond
2014-11-25 14:15                         ` David Kastrup
2014-11-25 21:29                           ` Eric S. Raymond
2014-11-25 16:32                       ` Testing the new VC code Stephen J. Turnbull
2014-11-25 12:12                     ` Michael Albinus
2014-11-25 13:42                       ` Eric S. Raymond
2014-11-25 14:55                         ` Michael Albinus
2014-11-25 21:17                           ` Eric S. Raymond
2014-11-26 10:12                             ` Michael Albinus
2014-11-26 11:46                               ` Eric S. Raymond
2014-11-25 14:35                       ` Stefan Monnier
2014-11-25 21:25                         ` Eric S. Raymond
2014-11-24 14:40     ` vc-state-heuristic is gone Stefan Monnier
2014-11-24 16:17 ` Richard Stallman
2014-11-25  5:15   ` Karl Fogel
2014-11-25  5:47     ` Eric S. Raymond
2014-11-24 16:17 ` Richard Stallman
2014-11-24 17:52   ` Eric S. Raymond
2014-11-25 13:20     ` Richard Stallman

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=20141125025054.GA20793@thyrsus.com \
    --to=esr@thyrsus.com \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.