Re: [RFD/PATCH] Implement pack.compression and pack-objects --compression=N
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 2, 2007, 18:40 UTC
- Message-ID
- <7vk5vr3w8n.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <463802ED.1080200@gmail.com>
Dana How <danahow@gmail.com> writes:
Show 10 quoted lines
> Consequently, for such a usage pattern it is useful > to specify different compression levels for loose > objects and packs. This patch implements a config > variable pack.compression in addition to the existing > core.compression, meant to be used for repacking. > It also adds --compression=N to pack-objects, > meant for push/pull/fetch, if different, or if different > on a per-repository basis. > > ** THIS PATCH IS UNTESTED AND MEANT FOR DISCUSSION. **
I think we tweaked this area in the past, but I do not think the current setting was determined to be the best tradeoff for all workloads. To be able to discuss the patch, I think it needs to come with benchmark numbers using publicly available repositories as guinea pigs and set of typical git operations, so people can reproduce and compare notes.