Re: Huge performance bottleneck reading packs
- From
Vegard Nossum <vegard.nossum@oracle.com>
- Date
- Oct 14, 2016, 06:55 UTC
- Message-ID
- <0e4173b6-8fbb-4223-b061-524c7ebfd4d7@oracle.com>
- In-Reply-To
- <20161013204351.rezqssvw63343l4g@sigill.intra.peff.net>
On 10/13/2016 10:43 PM, Jeff King wrote:
Show 5 quoted lines
> No problem. I do think you'll benefit a lot from packing everything into > a single pack, but it's also clear that Git was doing more work than it > needed to be. This was a known issue when we added the racy-check to > has_sha1_file(), and knew that we might have to field reports like this > one.
After 'git gc' (with the .5G limit) I have 23 packs and with your patch I now get:
$ time git fetch
real 0m26.520s user 0m3.580s sys 0m0.636s
Thanks!
vegard