Subject: bug#42966: 28.0.50; vc-dir: wrong backend

From: Dmitry Gutov <[email-masked]>
Date: Fri, 16 Oct 2020 17:44:20 +0300

On 16.10.2020 17:41, Lars Ingebrigtsen wrote:
> Dmitry Gutov <[email-masked]> writes:
> 
>> The code should be straightforward, but I'd like to see some
>> performance measurements: both for the local case, and for the remote
>> one (Tramp).
>>
>> The difference can be small, though, given that we already try a
>> number of other backends first (Git is near the end of
>> vc-handled-backends; we might want to change that, BTW).
> 
> As you point out, Git is already towards the end, so the typical case
> would just be two more tests, and both of the ones after Git (Hg and
> Mtn) look pretty trivial, too.
> 
> So it looks rather unlikely that there'd be a noticeable performance
> impact, I think?

Let's measure it anyway, because the potential impact is big (an extra 
delay when opening any file).