unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: William Xu <william.xwl@gmail.com>
To: 17945@debbugs.gnu.org
Subject: bug#17945: 24.4.50; vc-git-annotate-command is too slow
Date: Sat, 5 Jul 2014 20:28:37 +0800	[thread overview]
Message-ID: <CACzMC-A-swRuUMuUufYHNYsKNPP7=z9CUC+tF02=Fg42yypGsQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 995 bytes --]

             reply	other threads:[~2014-07-05 12:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-05 12:28 William Xu [this message]
2014-07-05 13:34 ` bug#17945: 24.4.50; vc-git-annotate-command is too slow Dmitry
2014-07-05 15:16   ` William Xu
2014-07-05 16:15   ` Stefan Monnier
2015-02-24  7:39     ` Glenn Morris
2015-02-24 15:31       ` Óscar Fuentes
2015-02-24 16:12         ` Eli Zaretskii
2015-02-24 16:36           ` Dmitry Gutov
2015-02-24 17:57         ` Glenn Morris
2015-02-24 20:55           ` Dmitry Gutov
2015-02-24 22:25             ` Óscar Fuentes
2015-02-25 17:46             ` Óscar Fuentes
2015-02-25 17:58               ` Dmitry Gutov
2015-02-25 18:06                 ` Óscar Fuentes
2015-02-25 20:37                   ` Dmitry Gutov
2015-02-26 14:56           ` Óscar Fuentes
2015-02-24 16:47       ` Dmitry Gutov
2015-02-24 17:56         ` Glenn Morris
2015-02-24 18:04           ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACzMC-A-swRuUMuUufYHNYsKNPP7=z9CUC+tF02=Fg42yypGsQ@mail.gmail.com' \
    --to=william.xwl@gmail.com \
    --cc=17945@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).