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 20:28:37 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bfceb40a2d29c04fd716185 X-Trace: ger.gmane.org 1404563357 26218 80.91.229.3 (5 Jul 2014 12:29:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2014 12:29:17 +0000 (UTC) To: 17945@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 14:29:10 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 1X3P5Y-0000Vm-9I for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 14:29:08 +0200 Original-Received: from localhost ([::1]:40378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P5X-0002Mc-Sg for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 08:29:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P5T-0002MR-Q2 for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:29:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3P5S-0007Lk-PO for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:29:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P5S-0007Lg-MN for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3P5S-00053e-7a for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:29: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 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140456333119422 (code B ref -1); Sat, 05 Jul 2014 12:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jul 2014 12:28:51 +0000 Original-Received: from localhost ([127.0.0.1]:43472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3P5G-00053A-Ur for submit@debbugs.gnu.org; Sat, 05 Jul 2014 08:28:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58066) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3P5D-00052x-UW for submit@debbugs.gnu.org; Sat, 05 Jul 2014 08:28:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3P57-0007Jf-MS for submit@debbugs.gnu.org; Sat, 05 Jul 2014 08:28:42 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P57-0007Ja-Ix for submit@debbugs.gnu.org; Sat, 05 Jul 2014 08:28:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P56-00022M-Ke for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:28:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3P55-0007JK-QF for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:28:40 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:51021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3P55-0007JC-Is for bug-gnu-emacs@gnu.org; Sat, 05 Jul 2014 08:28:39 -0400 Original-Received: by mail-wi0-f169.google.com with SMTP id hi2so13077247wib.2 for ; Sat, 05 Jul 2014 05:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8Zz0N3pHAIMz+UwVV6ba9kFWqC6Ix2J+2Uk1rhzbWxw=; b=UVmCiZrKOmmS8hBDmRi8fx6bc/Zh/NbE5ShdXSAG3yQkeWwYx/zD1NuEgmPh0IUjxl r8IciJhCEFfCeYNyXpx6HuMZYn5yPnSHKoAiTjix41bURK5xp6RJXq8ZEgquAZC7BLpO Ot738b9ZS+DXuepo58FJxb6S9PM3Q0Aubm+toT4PoCDYAJtzfsUE0VbzNLF2X8jnejH4 FF/tHCV6Q10B6z/AQROhXXGJeu8OLvy1MVPuTRIOs/Hn3Sv7RHbFzaJWP/fq4KLQKwtz 2M1rwDi36YyBPcnf+GvSeysQQ2mULOtKENhM355vKtsuAtTXaZ+Cvi1hE1yWuBnrf8rv WfYQ== X-Received: by 10.195.12.97 with SMTP id ep1mr3155452wjd.26.1404563318033; Sat, 05 Jul 2014 05:28:38 -0700 (PDT) Original-Received: by 10.217.180.74 with HTTP; Sat, 5 Jul 2014 05:28:37 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:91207 Archived-At: --047d7bfceb40a2d29c04fd716185 Content-Type: text/plain; charset=UTF-8 C-x v g on a git file is very slow, compare this: $ time git --no-pager blame -- vc-annotate.el 1>/dev/null real 0m1.432s user 0m1.364s sys 0m0.063s $ time git --no-pager blame -C -C -- vc-annotate.el 1>/dev/null real 0m23.477s user 0m22.058s sys 0m1.405s It seems the -C -C options would slow down git hugely, making this command almost useless. Can we remove it from default option list? -William git version 1.9.3 In GNU Emacs 24.4.50.1 (i386-apple-darwin13.1.0, NS apple-appkit-1265.19) of 2014-04-16 on tokyolove.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns CC=clang' Configured features: ACL GNUTLS LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix --047d7bfceb40a2d29c04fd716185 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
C-x v g on a git file is very slow, compare this:

= =C2=A0=C2=A0=C2=A0 $ time git --no-pager=C2=A0 blame=C2=A0 -- vc-annotate.e= l 1>/dev/null

=C2=A0=C2=A0=C2=A0 real=C2=A0=C2=A0 =C2=A00m1.432s<= br>=C2=A0=C2=A0=C2=A0 user=C2=A0=C2=A0 =C2=A00m1.364s
=C2=A0=C2=A0=C2=A0= sys=C2=A0=C2=A0 =C2=A00m0.063s


=C2=A0=C2=A0=C2=A0 $ time git --no-pager=C2=A0 blame -C -C=C2=A0 -- vc-anno= tate.el 1>/dev/null

=C2=A0=C2=A0=C2=A0 real=C2=A0=C2=A0 =C2=A00m2= 3.477s
=C2=A0=C2=A0=C2=A0 user=C2=A0=C2=A0 =C2=A00m22.058s
=C2=A0=C2= =A0=C2=A0 sys=C2=A0=C2=A0 =C2=A00m1.405s

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

git version 1.9.3

In GNU Emacs 24.4.50.1 (i386-= apple-darwin13.1.0, NS apple-appkit-1265.19)
=C2=A0of 2014-04-16 on toky= olove.local
Windowing system distributor `Apple', version 10.3.1265
Configured u= sing:
=C2=A0`configure --with-ns CC=3Dclang'

Configured featu= res:
ACL GNUTLS LIBXML2 ZLIB

Important settings:
=C2=A0 locale= -coding-system: utf-8-unix

--047d7bfceb40a2d29c04fd716185--