From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <git@vger.kernel.org>
Subject: Terrible bad performance for it blame --date=iso -C -C master -- <file>
Date: Fri, 31 Mar 2017 09:30:32 +0200 [thread overview]
Message-ID: <58DE0598020000A1000256CE@gwsmtp1.uni-regensburg.de> (raw)
In-Reply-To: 58DE0598020000A1000256CE@gwsmtp1.uni-regensburg.de
Hi!
I was running "vc-annotate" in Emacs for a file from a large repository (>40000 files, a big percentage being binary, about 10 commits). For the first file the result was presented rather soon, but for a second file the command did not finish even after about 10 minutes!
The file in question is a rather short text file (124 kB), and according to git log it has one commit.
While being bored, I did an strace of the command to find out that a huge number of files is inspected.
I'm using git of openSUSE LEap 42.2 (git-2.10.2-3.1.x86_64).
Here's the stat of the process:
% cat /proc/6307/stat
6307 (git) R 6189 6307 6307 0 -1 4194304 30514692 0 1860 0 142035 6333 0 0 20 0 1 0 14519800 5850595328 391884 18446744073709551615 4194304 6038988 140726752300720 140726752293728 5549816 0 0 67108864 0 0 0 0 17 2 0 0 28211 0 0 8138160 8173100 9625600 140726752306005 140726752306072 140726752306072 140726752309227 0
Regards,
Ulrich
next parent reply other threads:[~2017-03-31 7:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 7:30 Ulrich Windl [this message]
2017-03-31 15:52 ` Terrible bad performance for it blame --date=iso -C -C master -- <file> Junio C Hamano
2017-03-31 16:23 ` Samuel Lijin
2017-04-03 6:56 ` Antw: " Ulrich Windl
2017-04-03 10:56 ` Terrible bad performance for it blame --date=iso -C SZEDER Gábor
2017-04-03 15:16 ` Jakub Narębski
2017-04-04 6:23 ` Antw: " Ulrich Windl
2017-05-01 17:58 ` Terrible bad performance for it blame --date=iso -C -C master -- <file> Samuel Lijin
2017-05-02 0:59 ` Junio C Hamano
2017-05-03 7:12 ` Samuel Lijin
2017-05-03 12:29 ` Antw: " Ulrich Windl
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: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58DE0598020000A1000256CE@gwsmtp1.uni-regensburg.de \
--to=ulrich.windl@rz.uni-regensburg.de \
--cc=git@vger.kernel.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://80x24.org/mirrors/git.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).