[darcs-users] Benchmarking "get"

Ian Lynagh igloo at earth.li
Tue Mar 17 23:00:02 UTC 2009


On Tue, Mar 17, 2009 at 09:55:52PM +0000, Ian Lynagh wrote:
> 
> 275656  camp
> 172464  darcs1
> 331924  darcs1un
> 172464  darcs1darcs2
> 331976  darcs1darcs2un
> 160476  darcs1hashed
> 326780  darcs1hashedun
> 162020  darcs2
> 330000  darcs2un
> 431632  git
> 
> git is surprisingly (to me) large, but I don't know what it stores.

int-e suggested the use of "git gc --aggressive":

75136   gitgc

which, based on the output, I assume is compressed:

Counting objects: 156937, done.
Compressing objects: 100% (156581/156581), done.
Writing objects: 100% (156937/156937), done.
Total 156937 (delta 125025), reused 0 (delta 0)

For comparison, compressing the camp patch file gives:
275656  uncompressed
97040   gzip --best
88464   bzip2 --best
(we'd need to compress each patch separately, so wouldn't get as low as
these figures).

This breaks down as:
20432 working
20432 pristine
1792  inventory
???   patch file


Thanks
Ian



More information about the darcs-users mailing list