From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#42966: 28.0.50; vc-dir: wrong backend Date: Fri, 16 Oct 2020 17:44:20 +0300 Message-ID: <1e9908c7-337d-9790-cd37-5232bc04233c@yandex.ru> References: <87d01imtwl.fsf@gnus.org> <3708c3db-df78-1a50-857a-595f2412e284@yandex.ru> <87v9fa44im.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40158"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: Sam Steingold , 42966@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 16:45:54 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTQzS-000ALd-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 16:45:54 +0200 Original-Received: from localhost ([::1]:33430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTQzP-0001Zi-K6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 10:45:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTQyc-0001Y8-At for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTQyc-0002K5-0Q for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTQyb-0005c5-Sq for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 10:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 14:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42966 X-GNU-PR-Package: emacs Original-Received: via spool by 42966-submit@debbugs.gnu.org id=B42966.160285947121524 (code B ref 42966); Fri, 16 Oct 2020 14:45:01 +0000 Original-Received: (at 42966) by debbugs.gnu.org; 16 Oct 2020 14:44:31 +0000 Original-Received: from localhost ([127.0.0.1]:60439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTQy7-0005b6-4F for submit@debbugs.gnu.org; Fri, 16 Oct 2020 10:44:31 -0400 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:39264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTQy4-0005ar-Lc for 42966@debbugs.gnu.org; Fri, 16 Oct 2020 10:44:29 -0400 Original-Received: by mail-ej1-f45.google.com with SMTP id lw21so3547878ejb.6 for <42966@debbugs.gnu.org>; Fri, 16 Oct 2020 07:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=mPstJEe3QsJdsepNle0RNtkPw0/oyyK6JheBaWb5kz0=; b=TufhzwC4QgUIPHsOHERJdpwmo+myC5q1DoT0j1n9tSK9wdtFUfjxvZh60HaNUpch09 hIaI+7sq9mbgRRYUUteJJ9qnguaFoF/ISvOP/T4WT/oFG2nNRD5Jb30AuB+V9UXmk7px k4baWeb+Ah2OrnEYYDkZ844X7wyP/7QW+Co7E+vn895pnhwRbMAv+ZrsgoFEzx/8SPE8 XdeJMEC4iTL/L1+C4xK3ip9I62AUTyMkjROBj9jti3Ma//aPiPOxfYbPhlnrzLv02csF Oyt/L+ImvZD32+xwTO2/zcCtWQl1GvKKjNATG0gl0q8pK7QvezOx2j5f+Ihde3rzKb0J FunQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mPstJEe3QsJdsepNle0RNtkPw0/oyyK6JheBaWb5kz0=; b=o9NkXUsHic6DT+zYG1+AH6Q092zj6GgWxVo6CmlfjU3VynvnKqcchBU+1NYEmk0aZj mS02lHic4AOB4WNnOdsfmWhsgN5GUDoDvdFSfclutTeVZD/JGs2rh2sBzkMcElmmW5Xf 17npJn0FfZ5CN59iL46ZVshriB9w4205sd0h8mnSebq73GNDeINxwnFbLRBF1qug8M2a qcobRdCtr1uoVVHrAvCqxKVfWVQ6AKRqfuLiPjQASz88NM8VKa6P0+WDeCwPpcSTRwdH ROgne4so3UDPv4e39KnfVdmf6qM8sWahGE7i1YCeTP9BM0aWaG22SIzxM90lfhQtGjx1 2ULw== X-Gm-Message-State: AOAM530k2zWsYa/r2BvekPH+mh9Yq8IzgEtr3zr9um4tDkSKHzrj+Gl9 5GQGMYatAUs6iHdmZ4ugEUTbeu+ZQefVRQ== X-Google-Smtp-Source: ABdhPJxvTdXGQrDDmGJ/Sb1FuTZHj+FRZhgZuv0C/S+Lg30ov85XHlvbY8tfLBQov6JZ7lZLZO3Blw== X-Received: by 2002:a17:906:8c6:: with SMTP id o6mr4035824eje.304.1602859462520; Fri, 16 Oct 2020 07:44:22 -0700 (PDT) Original-Received: from [192.168.0.4] ([66.205.71.3]) by smtp.googlemail.com with ESMTPSA id a10sm1764752ejs.11.2020.10.16.07.44.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Oct 2020 07:44:21 -0700 (PDT) In-Reply-To: <87v9fa44im.fsf@gnus.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190698 Archived-At: On 16.10.2020 17:41, Lars Ingebrigtsen wrote: > Dmitry Gutov 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).