Re: [PATCH] pack-objects: no crc check when the cached version is used
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Sep 14, 2013, 03:18 UTC
- Message-ID
- <alpine.LFD.2.03.1309132302350.20709@syhkavp.arg>
- In-Reply-To
- <CACsJy8BctT3C+oW9a5azzFUru89j-NZ-kGK_wgxhsjRZEKnq_g@mail.gmail.com>
On Sat, 14 Sep 2013, Duy Nguyen wrote:
Show 6 quoted lines
> On Sat, Sep 14, 2013 at 4:26 AM, Thomas Rast <trast@inf.ethz.ch> wrote: > > I tried the perf script below, but at least for the git repo the only > > thing I can see is noise. > > --stdout does not set do_check_packed_object_crc, you need to run > pack-objects without --stdout (i.e. the real use case is repack)
And for those who might wonder why, you can have a look at the description for commit 0e8189e2708b. This was probably one of my best commit logs ever. ;-)
This commit also provides a hint about the cost of over-checking the CRC.
Nicolas