From: Linus Torvalds Date: Fri, 16 Mar 2007 16:21:29 GMT Subject: Re: cleaner/better zlib sources? Message-ID: In-Reply-To: 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