Re: Benchmarks regarding git's gc
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 8, 2011, 14:37 UTC
- Message-ID
- <CACsJy8DMAdjT8gsoSerkzNRvHgdcBWLaUd+-xHqXkV+hceo9rA@mail.gmail.com>
- In-Reply-To
- <CAMP44s3E-YCMQQzJAU2wjjD-adpNy6bGb-=iUQ=p=bFTWxm+Ng@mail.gmail.com>
On Tue, Nov 8, 2011 at 6:34 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
> Has anybody seen these? > http://draketo.de/proj/hg-vs-git-server/test-results.html#results > > Seems like a potential area of improvement.
The proportion between time and commits may have something to do with reachability test, where we traverse all commits and trees (I think twice in git-gc, one when it runs "reflog expire" and one "prune"). packv4 is supposed to make tree traversing faster. Although it'd be best if we could avoid this test.
-- Duy