From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: .git/info/refs Date: Thu, 25 Jan 2007 13:37:54 -0800 Message-ID: <45B92332.5060206@zytor.com> References: <45B70D06.3050506@zytor.com> <45B7818F.6020805@zytor.com> <7vireuaj9d.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu Jan 25 22:38:20 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HACIO-0005ne-Mz for gcvg-git@gmane.org; Thu, 25 Jan 2007 22:38:13 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030600AbXAYViH (ORCPT ); Thu, 25 Jan 2007 16:38:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030601AbXAYViH (ORCPT ); Thu, 25 Jan 2007 16:38:07 -0500 Received: from terminus.zytor.com ([192.83.249.54]:58846 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030600AbXAYViE (ORCPT ); Thu, 25 Jan 2007 16:38:04 -0500 Received: from [10.0.6.0] (yardgnome.c2micro.com [69.104.58.50]) (authenticated bits=0) by terminus.zytor.com (8.13.8/8.13.7) with ESMTP id l0PLbvHR022245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Jan 2007 13:37:57 -0800 User-Agent: Thunderbird 1.5.0.9 (X11/20070102) In-Reply-To: <7vireuaj9d.fsf@assigned-by-dhcp.cox.net> X-Virus-Scanned: ClamAV 0.88.7/2492/Thu Jan 25 11:04:35 2007 on terminus.zytor.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on terminus.zytor.com Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano 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? > No, we currently have 250 repositories with a total of 24175 refs. -hpa