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

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

From
CMConstantine A. Murenin <mureninc@gmail.com>
Date
Jun 7, 2013, 01:35 UTC
Message-ID
<CAPKkNb4bYfBeqkBKqe-22iJsqjmvrYNSe4oWUnPo7QeghLK59Q@mail.gmail.com>
Hi,
On a relatively-empty Intel Core i7 975 @ 3.33GHz (quad-core):
Cns# cd DragonFly/

Cns# time git log sys/sys/sockbuf.h >/dev/null 0.540u 0.140s 0:04.30 15.8% 0+0k 2754+55io 6484pf+0w Cns# time git log sys/sys/sockbuf.h > /dev/null 0.000u 0.030s 0:00.52 5.7% 0+0k 0+0io 0pf+0w Cns# time git log sys/sys/sockbuf.h > /dev/null 0.180u 0.020s 0:00.52 38.4% 0+0k 0+2io 0pf+0w Cns# time git log sys/sys/sockbuf.h > /dev/null 0.420u 0.020s 0:00.52 84.6% 0+0k 0+0io 0pf+0w

And, right away, a semi-cold git-blame:

Cns# time git blame sys/sys/sockbuf.h >/dev/null 0.340u 0.040s 0:01.91 19.8% 0+0k 769+45io 2078pf+0w Cns# time git blame sys/sys/sockbuf.h > /dev/null 0.340u 0.010s 0:00.36 97.2% 0+0k 0+2io 0pf+0w Cns# time git blame sys/sys/sockbuf.h > /dev/null 0.310u 0.040s 0:00.36 97.2% 0+0k 0+0io 0pf+0w Cns# time git blame sys/sys/sockbuf.h > /dev/null 0.310u 0.050s 0:00.36 100.0% 0+0k 0+0io 0pf+0w

I'm interested in running a web interface to this and other similar git repositories (FreeBSD and NetBSD git repositories are even much, much bigger).

Software-wise, is there no way to make cold access for git-log and git-blame to be orders of magnitude less than ~5s, and warm access less than ~0.5s?

C.
Next: Fredrik Gustafsson
Message 1 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.