'git log FILE' slow
- From
- Yakov Lerner <iler.ml@gmail.com>
- Date
- Jul 11, 2007, 20:33 UTC
- Message-ID
- <f36b08ee0707111333q38004cb5x152f25e2055e2796@mail.gmail.com>
[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