git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Adding gitweb.owner, last shot

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 8, 2008, 07:38 UTC
Message-ID
<7v3as3lwxn.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1202445714-28971-1-git-send-email-ribas@c3sl.ufpr.br>
Bruno Ribas <ribas@c3sl.ufpr.br> writes:
Show 17 quoted lines
> ... there is no major performance downgrade
> compared to $projects_list , as seen below:
>
> 8<-------
> 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
> 8<-------

Large installations would maintain the project_list in the flat file format for performance reasons anyway. Benchmarking under a condition that yields unreasonably long response time is somewhat meaningless, I am afraid. Who sane would wait for 15 minutes for project list to come up?

So I think your patch makes sense. It would not help nor hurt large installations, and would help smaller installations that do not care much about performance but are more interested in the convenience of not having to worry about maintaining the project_list.

As the act of signing off patches is a legal statement, I'd prefer real person's name, not "Git Managment for C3SL", in the messages to be applied. The change that adds the feature, and the documentation update to describe that new feature, should be in the same single patch for a small change like this.

Previous: Bruno Cesar RibasNext: Bruno Cesar Ribas
Message 9 of 12 in “Adding gitweb.owner, last shot”
  1. Bruno RibasFeb 8, 2008
  2. gitweb: Use the config file to set repository owner's name.Bruno Ribas, Feb 8, 2008
  3. gitweb: Update gitweb/README to include the new per-repository gitweb.ownerBruno Ribas, Feb 8, 2008
  4. Jakub NarebskiFeb 8, 2008
  5. Bruno Cesar RibasFeb 8, 2008
  6. Bruno Cesar RibasFeb 8, 2008
  7. Jakub NarebskiFeb 8, 2008
  8. Bruno Cesar RibasFeb 8, 2008
  9. Junio C HamanoFeb 8, 2008
  10. Bruno Cesar RibasFeb 8, 2008
  11. Jakub NarebskiFeb 8, 2008
  12. Bruno Cesar RibasFeb 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.