Subject: bug#17945: closed (Re: bug#17945: 24.4.50; vc-git-annotate-command is too slow)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 26 Feb 2015 14:57:03 +0000

Your bug report

#17945: 24.4.50; vc-git-annotate-command is too slow

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17945: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17945
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#17945: 24.4.50; vc-git-annotate-command is too slow
From: Óscar Fuentes <[email-masked]>
To: Glenn Morris <[email-masked]>
Cc: [email-masked]
Date: Thu, 26 Feb 2015 15:56:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Glenn Morris <[email-masked]> writes:

> Óscar Fuentes wrote:
>
>> So what about this patch?
>
> Looks, right, except vc-annotate-switches does not exist and would also
> need to be added. And for consistency, presumably all backends should
> get the same treatment. Thanks.

Implemented on b5a0603eb41c7a350c16a1b3ec5c1b8d8c84a4eb.

I'm neutral about the existence of vc-annotate-switches, so if anyone
wants to remove it (including mentions on the docstrings of
vc-BACKEND-annotate-switches) it's fine with me.

Subject: 24.4.50; vc-git-annotate-command is too slow
From: William Xu <[email-masked]>
To: [email-masked]
Date: Sat, 5 Jul 2014 20:28:37 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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