From: Duy Nguyen Date: Fri, 14 Mar 2014 10:21:59 GMT Subject: Re: No progress from push when using bitmaps Message-ID: In-Reply-To: <5322CF58.6060506@alum.mit.edu> On Fri, Mar 14, 2014 at 4:43 PM, Michael Haggerty wrote: > Would it be practical to change it to a percentage of bytes written? > Then we'd have progress info that is both convenient *and* truthful. I agreed for a second, then remembered that we don't know the final pack size until we finish writing it.. Not sure if we could estimate (cheaply) with a good accuracy though. If an object is reused, we already know its compressed size. If it's not reused and is a loose object, we could use on-disk size. It's a lot harder to estimate an not-reused, deltified object. All we have is the uncompressed size, and the size of each delta in the delta chain.. Neither gives a good hint of what the compressed size would be. -- Duy