Re: [PATCH] gitweb: Use config file or file for repository owner's name.
- From
- Bruno Cesar Ribas <ribas@c3sl.ufpr.br>
- Date
- Feb 7, 2008, 04:12 UTC
- Message-ID
- <20080207041246.GA32595@c3sl.ufpr.br>
- In-Reply-To
- <20080205044121.GA13263@c3sl.ufpr.br>
On Tue, Feb 05, 2008 at 02m41:21AM -0200, Bruno Cesar Ribas wrote:
><alll snip>
Hello again,
I made another bench, but testing time difference between a gitweb.cgi without reading gitweb.owner AND reading it.
These times i got with a 1000projects running 2 dd to generate disk IO. Here comes the resultm NO projects_list projects_list 16m30s69 15m10s74 default gitweb, using FS's owner 16m07s40 15m24s34 patched to get gitweb.owner 16m37s76 15m59s32 same above, but without gitweb.owner
Now results for a 1000projects on an idle machine. NO projects_list projects_list 1m19s08 1m09s55 default gitweb, using FS's owner 1m17s58 1m09s55 patched to get gitweb.owner 1m18s49 1m08s96 same above, but without gitweb.owner
*For "projects_list" column, gitweb got owner via project_list file.
Small fluctuation occurs. But speed is essencially the same.
My guess is that adding a gitweb.owner there's no problem and helps people to get owner when there's no need to maintain a project_list or maintain this file is not wanted.
Bruno
-- Bruno Ribas - ribas@c3sl.ufpr.br http://web.inf.ufpr.br/ribas C3SL: http://www.c3sl.ufpr.br