Re: [rfc] git: combo-blobs

Ingo Molnar
2005-04-11T15:28:29Z

here are some stats: of the last 34160 files modified in the Linux
kernel tree in the past 1 year, the file sizes total to 1 GB, and the
average file-size per file committed is 31220 bytes. The changes
themselves amount to:

22404 files changed, 1996494 insertions(+), 1396644 deletions(-)

(the # of files changed is lower because one file can be modified
multiple times)

the Linux kernel has an average line-length of 36 bytes, so even without
analyzing the commits themselves, the actual size of changes is around
70 MB content added, 50 MB content removed. The patches (plus commit
comments, and email headers) add up to 250 MB.

So the combo-blob representation would have an uncompressed content
somewhere between 130MB and 250MB: 200 MB would be a good guess i think.
That's 20% of the 1+ GB the full-blob representation would give, and it
would be nearly as compressible.

Ingo