Re: .git/info/refs
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 25, 2007, 21:28 UTC
- Message-ID
- <7vireuaj9d.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <45B7818F.6020805@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> writes:
Show 13 quoted lines
> Jakub Narebski wrote: >> H. Peter Anvin wrote: >> >>> Would it be an incompatible change to add the commit date (and >>> perhaps the author date) to .git/info/refs? I believe that would >>> make it possible to dramatically (orders of magnitude) speed up the >>> generation of the gitweb index page, which is easily the most >>> expensive gitweb page to generate. >> >> 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?