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

Re: cgit vs. gitweb

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 26, 2006, 00:32 UTC
Message-ID
<200612260132.41062.jnareb@gmail.com>
In-Reply-To
<8c5c35580612251604s5e211518yd958fdc2e73232ef@mail.gmail.com>
Lars Hjemli wrote:
Show 7 quoted lines
> On 12/25/06, Jakub Narebski <jnareb@gmail.com> wrote:
>> Lars Hjemli wrote:
>>
>>> I wanted to compare cgit against gitweb to see the effect of using
>>> libgit and internal caching. So I ran the attached scripts against
>>> http://hjemli.net/git/ and http://hjemli.net/cgi-bin/gitweb.cgi as a
>>> very simplistic benchmark.
[...] 
Show 5 quoted lines
>> Could you include ApacheBench (ab) results?
> 
> Sure (I didn't know about this tool, thanks for the pointer)
> 
> Here's the result of a few requests:
[snip]
> This does seem to confirm the results of my homemade scripts.

By the way, which version of gitweb did you use (shortened sha1 of commit, or result of git-describe)? I'm interested if it is before or after Robert Fitzsimons patches which replaced 101 forks in log-like views with 1 fork, which I think affects gitweb performance a lot.

The page which is optimized is summary view, if you use projects_list and not projectroot directory...

-- 
Jakub Narebski
Poland
Previous: Lars HjemliNext: Robert Fitzsimons
Message 4 of 6 in “cgit vs. gitweb”
  1. Lars HjemliDec 25, 2006
  2. Jakub NarebskiDec 25, 2006
  3. Lars HjemliDec 26, 2006
  4. Jakub NarebskiDec 26, 2006
  5. Robert FitzsimonsDec 26, 2006
  6. Lars HjemliDec 26, 2006

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.