git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git log FILE' slow
@ 2007-07-11 20:33 Yakov Lerner
  2007-07-11 21:03 ` Linus Torvalds
  0 siblings, 1 reply; 2+ messages in thread
From: Yakov Lerner @ 2007-07-11 20:33 UTC (permalink / raw)
  To: Git Mailing List

[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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-11 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-11 20:33 'git log FILE' slow Yakov Lerner
2007-07-11 21:03 ` Linus Torvalds

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).