git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yakov Lerner" <iler.ml@gmail.com>
To: "Git Mailing List" <git@vger.kernel.org>
Subject: 'git log FILE' slow
Date: Wed, 11 Jul 2007 23:33:41 +0300	[thread overview]
Message-ID: <f36b08ee0707111333q38004cb5x152f25e2055e2796@mail.gmail.com> (raw)

[git version 1.5.1.3]

'git-log FILE' takes 10-13 sec.  What can I do to identify
the reason ? 'git log >/dev/null' takes 0.1 sec (cached).
On the cloned copy, the times are approximately same.

The 'git-count-objects -v' shows:

count: 9830
size: 241412
in-pack: 12080
packs: 18
prune-packable: 188
garbage: 0

The strace shows only thousands of sbrk during the 10-13 sec time
(after some initial I/O). Ltrace, I was not able to complete, takes too much.

Yakov

             reply	other threads:[~2007-07-11 20:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 20:33 Yakov Lerner [this message]
2007-07-11 21:03 ` 'git log FILE' slow Linus Torvalds

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=f36b08ee0707111333q38004cb5x152f25e2055e2796@mail.gmail.com \
    --to=iler.ml@gmail.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;
as well as URLs for NNTP newsgroup(s).