unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: David Kastrup <dak@gnu.org>
Cc: bruce.connor.am@gmail.com, emacs-devel <emacs-devel@gnu.org>
Subject: Re: On tabs and spaces
Date: Thu, 15 Jan 2015 13:17:20 +0300	[thread overview]
Message-ID: <54B793B0.8070909@yandex.ru> (raw)
In-Reply-To: <87a91kfjry.fsf@fencepost.gnu.org>

On 01/15/2015 12:57 PM, David Kastrup wrote:

> git blame does not spend that much of its time diffing.  Even if the
> difference between plain and -w has become larger with Git 2.1+ (simply
> because it wastes vastly less time with other endeavors), the bulk of
> the run time is likely spent in unpacking files from the repository
> rather than comparing them.

Would you consider this kind of difference of no consequence?

$ time git blame src/xdisp.c >/dev/null

real	0m11.875s
user	0m10.753s
sys	0m0.583s
$ time git blame -w src/xdisp.c >/dev/null

real	0m17.127s
user	0m16.779s
sys	0m0.356s

> If you use a Git version older than 2.1

2.1.0 here.

But anyway, I distinctly remember the performance of blaming being one 
of the reasons why we shouldn't do whitespace-cleaning across the 
repository.



  reply	other threads:[~2015-01-15 10:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 23:15 On tabs and spaces Artur Malabarba
2015-01-14 23:22 ` Dmitry Gutov
2015-01-15  1:01   ` Artur Malabarba
2015-01-15  9:57   ` David Kastrup
2015-01-15 10:17     ` Dmitry Gutov [this message]
2015-01-15 10:26       ` David Kastrup
2015-01-15 10:43         ` Dmitry Gutov
2015-01-15 11:42           ` David Kastrup
2015-01-16  7:23   ` Stephen Leake

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=54B793B0.8070909@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=bruce.connor.am@gmail.com \
    --cc=dak@gnu.org \
    --cc=emacs-devel@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).