split inventory progress

Martin Pool mbp at canonical.com
Wed Nov 12 07:30:53 GMT 2008


On Wed, Nov 12, 2008 at 4:57 PM, Robert Collins
<robertc at robertcollins.net> wrote:
> btree(1.9):
> Commits: 107
>                      Raw    %    Compressed    %  Objects
> Revisions:       1074 KiB   0%       266 KiB   3%      107
> Inventories:    78202 KiB  49%       580 KiB   7%      107
> Texts:          79439 KiB  50%      6552 KiB  88%     3025
> Signatures:         0 KiB   0%         0 KiB   0%        0
> Total:         158716 KiB 100%      7399 KiB 100%     3239
>
> split-inventory:
> Commits: 107
>                      Raw    %    Compressed    %  Objects
> Revisions:       1078 KiB   1%       269 KiB   3%      107
> Inventories:      835 KiB   1%       446 KiB   6%     1243
> Texts:          79439 KiB  97%      6552 KiB  90%     3025
> Signatures:         0 KiB   0%         0 KiB   0%        0
> Total:          81353 KiB 100%      7268 KiB 100%     4375

For those not used to reading this output, the key point is that the
inventories have shrunk from being 78MB in uncompressed form, to only
835kB.  After gzip compression, the difference is not so extreme.
Essentially we're recognizing common data between trees at a higher
level, rather than making gzip do the work, so this will be faster to
commit and query, and more compact.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list