Re: .git/info/refs
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Jan 25, 2007, 22:01 UTC
- Message-ID
- <45B928AD.50508@zytor.com>
- In-Reply-To
- <7v3b5yai6c.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 11 quoted lines
> "H. Peter Anvin" <hpa@zytor.com> writes: > >>>>> With new gitweb and new git it is not that expensive. It is now one call >>>>> to git-for-each-ref per repository. >>>> That IS hugely expensive. On kernel.org, that is 24175 calls to git. >>> Do you mean you have 24k _REPOSITORIES_ served by gitweb on >>> kernel.org? >> No, we currently have 250 repositories with a total of 24175 refs. > > Then that would mean 250 calls to git-for-each-ref, wouldn't it? >
Well, I think it was Johannes that said once for each ref. But either which way, it's a totally unacceptable load with resulting unacceptable latency.
-hpa