Re: [PATCH] Use OBJECT_INFO_QUICK to speedup git fetch-pack
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 27, 2017, 04:53 UTC
- Message-ID
- <xmqqk1yce301.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171127043740.GA5994@sigill>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
>> cf. https://public-inbox.org/git/20171120202920.7ppcwmzkxifywtoj@sigill.intra.peff.net/ > > It's funny that we'd get two patches so close together. AFAIK the > slowness here has been with us for years, and I just happened to > investigate it recently. > >> The 5-patch series that contains the same change as this one is >> cooking and will hopefully be in the released version before the end >> of the year. > > I'd be curious if the 5th patch there provides an additional speedup for > Takuto's case.
Indeed, it is a very good point.
IIUC, the 5th one is about fetching tons of refs that you have never seen, right? If a repository that has trouble with everything-local is suffering because it right now has 300k remote-tracking branches, I'd imagine that these remote-tracking branches are being added at a considerable rate, so I'd not be surprised if these "new" refs benefits from that patch. And it would be nice to know how much a real life scenario actually does improve.
Thanks.