Re: cleaner/better zlib sources?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Mar 16, 2007, 16:21 UTC
- Message-ID
- <Pine.LNX.4.64.0703160913361.3816@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.64.0703151955150.4998@alien.or.mcafeemobile.com>
On Thu, 15 Mar 2007, Davide Libenzi wrote:
> > Hacked up test case below ...
This one seems to do benchmarking with 8MB buffers if I read it right (didn't try).
The normal size for the performance-critical git objects are in the couple of *hundred* bytes. Not kilobytes, and not megabytes.
The most performance-critical objects for uncompression are commits and trees. At least for the kernel, the average size of a tree object is 678 bytes. And that's ignoring the fact that most of them are then deltified, so about 80% of them are likely just a ~60-byte delta.
Linus