From: Jan Smets <jan.smets@alcatel-lucent.com>
To: <git@vger.kernel.org>
Subject: git blame performance
Date: Fri, 6 Nov 2015 14:37:52 +0100 [thread overview]
Message-ID: <563CAD30.6040608@alcatel-lucent.com> (raw)
Hi
I have recently migrated a fairly large project from CVS to Git.
One of the issues we're having is the blame/annotate performance.
The repository contains +650k commits total, of which ~300k are on
master. (raw size = ~8GB)
Running blame on one of the oldest files takes over 30 seconds.
This is on a fairly beefy (server) machine with lots of ram and the
repository on a ramdisk. Running git 2.5.2
cvs annotate of the same file (over the network) is ready in 0.8 seconds.
blame/annotate is a frequently used operation, ranging between 5 to 20
usages a day per developer.
I have two questions
1) Is there a way to speed this up (in git)? eg: can it run multi
threaded? build pre-cached blame views?
2) I was thinking to work around the issue and use gitweb
blame_incremental and pre-populate the cache.
If you can think of any other (short term) solutions I would really like
to hear them.
Thank you
- Jan
next reply other threads:[~2015-11-06 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-06 13:37 Jan Smets [this message]
2015-11-06 14:52 ` git blame performance Michael Haggerty
2015-11-06 17:53 ` Junio C Hamano
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=563CAD30.6040608@alcatel-lucent.com \
--to=jan.smets@alcatel-lucent.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox