Re: [PATCH] RFC: git lazy clone proof-of-concept
- From
- Jan Holesovsky <kendy@suse.cz>
- Date
- Feb 15, 2008, 09:34 UTC
- Message-ID
- <200802151034.46236.kendy@suse.cz>
- In-Reply-To
- <alpine.LSU.1.00.0802141917420.30505@racer.site>
Hi Johannes,
On Thursday 14 of February 2008, Johannes Schindelin wrote:
Show 8 quoted lines
> The result is: > > $ ls -la objects/pack/pack-e4dc6da0a10888ec4345490575efc587b7523b45.pack > -rwxrwxrwx 1 root root 1638490531 2008-02-14 17:51 > objects/pack/pack-e4dc6da0a10888ec4345490575efc587b7523b45.pack > > 1.6G looks much better than 2.4G, wouldn't you say? Jan, if you want it, > please give me a place to upload it to.
Thank you! In the meantime, I happened to produce something similar. Unfortunately even mine was too late for another round of tests to present it in our git vs. svn comparison (with todays deadline) - so we just mentioned in the report that the tested repository still had reserves [but the numbers were quite nice even with the 2.5G one ;-)].
> ll minimal3.git/objects/pack/
celkem 1636608 -r--r--r-- 1 kendy users 59264432 2008-02-10 15:22 pack-909b501d3d673f10a66adfefdf8371933e7a6f3e.idx -r--r--r-- 1 kendy users 1614968445 2008-02-10 15:22 pack-909b501d3d673f10a66adfefdf8371933e7a6f3e.pack
> ll minimal4.git/objects/pack/
celkem 1644160 -r--r--r-- 1 kendy users 59264432 2008-02-11 16:09 pack-909b501d3d673f10a66adfefdf8371933e7a6f3e.idx -rw-r--r-- 1 kendy users 0 2008-02-11 16:29 pack-909b501d3d673f10a66adfefdf8371933e7a6f3e.keep -r--r--r-- 1 kendy users 1622697708 2008-02-11 16:09 pack-909b501d3d673f10a66adfefdf8371933e7a6f3e.pack
The 'minimal3' case was with '--window=250 --depth=250', 'minimal4' was with '--window=250 --depth=50'
I tried the --depth=50 because I read 'making it too deep affects the performance on the unpacker side' in the man page. How big the difference could be in practice, please?
Regards, Jan