bzr-usertest - a benchmarking toolkit for Bazaar and other command line (VCS) tools

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Mar 27 04:39:58 GMT 2008


Gonsolo wrote:
> I can't believe your numbers.
> 
> For example, I have a git tree of the linux kernel here (commit:
> a4083c9271e0a697278e089f2c0b9a95363ada0a ).
> After doing a "git gc" I get the following numbers:
> 
> Total size (checked out source + git pack): 548MB.
> .git directory: 226MB.
> So the ratio is 226 / (548-226) = 0.70, right?
> And this is the full history since April 2005.
> 
> How does this compare to your tests?

The test is a simple one:

* unpack a tar.gz
* init + add + commit
* check the time taken and the space required

The ratio is calculated as the space required after the commit vs the
space required before it. Before it there's only the working tree;
afterwards there's a working tree + an archive (.git, .hg, .bzr, etc.)
of some kind as well. The ratio will always be over 1.

"git gc" may well reduce the space required. But it's only a single
commit with no history so I don't run gc for git (or any of the other
tools for that matter).

If you feel that the right recipe for git usage is to do that, please
feel free to update the Wiki page and send me a patch for usertest
accordingly.

Ian C.




More information about the bazaar mailing list