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

Re: Git benchmarks at OpenOffice.org wiki

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
May 5, 2007, 03:56 UTC
Message-ID
<alpine.LFD.0.98.0705042049330.3819@woody.linux-foundation.org>
In-Reply-To
<8fe92b430705020433v7ae5c117qdefccc791cd07fff@mail.gmail.com>
On Wed, 2 May 2007, Jakub Narebski wrote:
Show 7 quoted lines
> On 5/2/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > 
> > Something I realized with pain is that the refs/ directory is 24MB big.
> > Yep. Really. They have 3464 heads and 2639 tags. I suspect that this is
> > the reason why.
> 
> Then packed refs would certainly help with speed and a bit with size.

Btw, this reminds me: we really should start out clones with a fully packed set of refs. It seems stupid to get the refs in one go, and then explode them into thousands of files.

A trivial patch is to just do
	git pack-refs --all --prune

in the "git-clone.sh" script rather than force people to do it themselves, but we really probably shouldn't have ever even unpacked them in the first place. That is kind of stupid, but especially since that thing is written in shell, it's hard to do anything smarter.

Of course, I don't know what the hell openoffice is doing with that many 
branches and tags, but I guess it's a normal result of having used CVS/SVN 
- you want to tag every single merge you do, and all branches stay around 
forever, because you can never merge them back and get rid of them.

It's always sad to see the crap that is CVS, and how bad decisions in CVS end up resulting in pain downstream.

		Linus
Previous: Johannes SchindelinNext: Junio C Hamano
Message 15 of 36 in “Git benchmarks at OpenOffice.org wiki”
  1. Jakub NarebskiMay 1, 2007
  2. Junio C HamanoMay 1, 2007
  3. Andy ParkinsMay 2, 2007
  4. Julian PhillipsMay 2, 2007
  5. Andy ParkinsMay 2, 2007
  6. Julian PhillipsMay 2, 2007
  7. Andy ParkinsMay 2, 2007
  8. Julian PhillipsMay 2, 2007
  9. Jan HolesovskyMay 2, 2007
  10. Andy ParkinsMay 2, 2007
  11. Junio C HamanoMay 2, 2007
  12. Johannes SchindelinMay 2, 2007
  13. Jakub NarebskiMay 2, 2007
  14. Johannes SchindelinMay 2, 2007
  15. Linus TorvaldsMay 5, 2007
  16. Junio C HamanoMay 7, 2007
  17. Linus TorvaldsMay 7, 2007
  18. Jan HolesovskyMay 2, 2007
  19. Johannes SchindelinMay 2, 2007
  20. Jan HolesovskyMay 2, 2007
  21. Johannes SchindelinMay 2, 2007
  22. Petr BaudisMay 2, 2007
  23. Jan HolesovskyMay 2, 2007
  24. Petr BaudisMay 2, 2007
  25. Petr BaudisMay 2, 2007
  26. Jakub NarebskiMay 2, 2007
  27. Jan HolesovskyMay 3, 2007
  28. Alex RiesenMay 3, 2007
  29. Johannes SixtMay 3, 2007
  30. Jakub NarebskiMay 4, 2007
  31. Florian WeimerMay 3, 2007
  32. Johannes SchindelinMay 3, 2007
  33. Robin RosenbergMay 3, 2007
  34. Martin LanghoffMay 3, 2007
  35. Robin RosenbergMay 6, 2007
  36. Jakub NarebskiMay 3, 2007

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.