From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.bugs Subject: bug#17945: 24.4.50; vc-git-annotate-command is too slow Date: Sat, 5 Jul 2014 23:16:24 +0800 Message-ID: References: <8638egylnn.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf10b3c9efec104fd73b9e3 X-Trace: ger.gmane.org 1404573443 4998 80.91.229.3 (5 Jul 2014 15:17:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2014 15:17:23 +0000 (UTC) Cc: "17945@debbugs.gnu.org" <17945@debbugs.gnu.org> To: Dmitry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 17:17:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X3RiG-0005iD-5q for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 17:17:16 +0200 Original-Received: from localhost ([::1]:42841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3RiF-0004B4-OX for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 11:17:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3Ri8-0004A6-1s for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 11:17:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3Ri3-000135-8h for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 11:17:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3Ri3-000131-5V for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 11:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3Ri2-0000uD-86 for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 11:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: William Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jul 2014 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17945-submit@debbugs.gnu.org id=B17945.14045733933436 (code B ref 17945); Sat, 05 Jul 2014 15:17:02 +0000 Original-Received: (at 17945) by debbugs.gnu.org; 5 Jul 2014 15:16:33 +0000 Original-Received: from localhost ([127.0.0.1]:44246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3RhZ-0000tL-00 for submit@debbugs.gnu.org; Sat, 05 Jul 2014 11:16:33 -0400 Original-Received: from mail-we0-f177.google.com ([74.125.82.177]:46047) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3RhW-0000t7-2H for 17945@debbugs.gnu.org; Sat, 05 Jul 2014 11:16:31 -0400 Original-Received: by mail-we0-f177.google.com with SMTP id u56so2610027wes.8 for <17945@debbugs.gnu.org>; Sat, 05 Jul 2014 08:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zSAkHxcaVTSwdUCofJeDOdWbbuE7pZWCP+GZfa8r0Uw=; b=yzafbam+ByYevBWD3eEEY2mG8so8cCV3DrWVFInCEmc5X4gnnbH1B2+jp5D8tcQEjL zJSLTsi6lMOOwqPrycF5KvLP9oqqvhwXUAEIDgXHi629L044bXWKJG97gRohdagOlKya 5NqyLhip4qYRgkpVWDT9/CHei9gASwoYhC9jx+CycRvpPQl8ZE9um+v1x655E5vRk3bZ tfpVh/vJ4WBExm4ok527kBEnj+UZ7CaILX6DibOV/UNb7bvrIlwy36AyQBufLFjjDPzr fZjHVmNl3l8mGmeowbudvYbPccTSpj3HGxW1SiEiri4iPM3Nh5lNdPt+4+JPdh5eplTm n3rQ== X-Received: by 10.194.89.138 with SMTP id bo10mr19746223wjb.22.1404573384111; Sat, 05 Jul 2014 08:16:24 -0700 (PDT) Original-Received: by 10.217.180.74 with HTTP; Sat, 5 Jul 2014 08:16:24 -0700 (PDT) In-Reply-To: <8638egylnn.fsf@yandex.ru> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91211 Archived-At: --047d7bf10b3c9efec104fd73b9e3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dmitry =E4=BA=8E2014=E5=B9=B47=E6=9C=885=E6=97=A5=E6=98= =9F=E6=9C=9F=E5=85=AD=E5=86=99=E9=81=93=EF=BC=9A > William Xu > writes: > > > C-x v g on a git file is very slow, compare this: > > What kind of repository are you doing this in? > > For me, it always works quite fast (usually <1 s) As you can see, I ran it on the emacs git mirror(git:// git.savannah.org/emacs.git). I can see this slowness on my several git repos where there are many files. I often fall back on running shell-command with 'git blame'. > > It seems the -C -C options would slow down git hugely, making this > > command almost useless. Can we remove it from default option list? > > These options provide a feature, so we shouldn't simply remove them. There are many features, the question is whether this is good for default setup. -William --=20 -William --047d7bf10b3c9efec104fd73b9e3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Dmitry <dgutov@yandex.ru= >=E4=BA=8E2014=E5=B9=B47=E6=9C=885=E6=97=A5=E6=98=9F=E6=9C=9F=E5=85=AD= =E5=86=99=E9=81=93=EF=BC=9A
William Xu &l= t;william.xwl@gmail.com> writes:

> C-x v g on a git file is very slow, compare this:

What kind of repository are you doing this in?

For me, it always works quite fast (usually <1 s)

As you can see, I ran= it on the emacs git mirror(git://git.savannah.org/emacs.git). =C2=A0I can see this slowness on my s= everal git repos where there are many files. =C2=A0I often fall back on run= ning shell-command with 'git blame'.=C2=A0

=C2=A0
> It seems the -C -C options would slow down git hugely, making this
> command almost useless. =C2=A0Can we remove it from default option lis= t?

These options provide a feature, so we shouldn't simply remove them.

There are many features, the question is whether this is good for default s= etup.

=C2=A0
-William

= =C2=A0


--
-William

--047d7bf10b3c9efec104fd73b9e3--