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

Re: is there a fast web-interface to git for huge repos?

From
HIHolger Hellmuth (IKS) <hellmuth@ira.uka.de>
Date
Jun 14, 2013, 10:55 UTC
Message-ID
<51BAF6AC.2080504@ira.uka.de>
In-Reply-To
<CAPKkNb460fNJcwt6084xkuDa2sWMRnF+FBu+i_G01aJMMiRevA@mail.gmail.com>
Am 07.06.2013 22:21, schrieb Constantine A. Murenin:
Show 5 quoted lines
> I'm totally fine with daily updates; but I think there still has to be
> some better way of doing this than wasting 0.5s of CPU time and 5s of
> HDD time (if completely cold) for each blame / log, at the price of
> more storage and some pre-caching, and (daily (in my use-case))
> fine-grained incremental updates.

To get a feel for the numbers: I would guess 'git blame' is mostly run against the newest version and the release version of a file, right? I couldn't find the number of files in bsd, so lets take linux instead: That is 25k files for version 2.6.27. Lets say 35k files altogether for both release and newer versions of the files.

A typical page of git blame output on github seems to be in the vicinity of 500 kbytes, but that seems to include lots of overhead for comfort functions. At least that means it is a good upper bound value.

35k files times 500k gives 17.5 Gbytes, a trivial value for a static *disk* based cache. It is also a manageable value for affordable SSDs

Previous: Constantine A. Murenin
Message 8 of 8 in “is there a fast web-interface to git for huge repos?”
  1. Constantine A. MureninJun 7, 2013
  2. Fredrik GustafssonJun 7, 2013
  3. Constantine A. MureninJun 7, 2013
  4. Fredrik GustafssonJun 7, 2013
  5. Constantine A. MureninJun 7, 2013
  6. Charles McGarveyJun 7, 2013
  7. Constantine A. MureninJun 7, 2013
  8. Holger Hellmuth (IKS)Jun 14, 2013

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.