Re: [PATCH 4/5] index-pack: Use the new worker pool
- From
Jeff King <peff@peff.net>
- Date
- Aug 25, 2015, 19:03 UTC
- Message-ID
- <20150825190329.GA11271@sigill.intra.peff.net>
- In-Reply-To
- <1440523706-23041-5-git-send-email-sbeller@google.com>
On Tue, Aug 25, 2015 at 10:28:25AM -0700, Stefan Beller wrote:
> By treating each object as its own task the workflow is easier to follow > as the function used in the worker threads doesn't need any control logic > any more.
Have you tried running t/perf/p5302 on this?
I seem to get a pretty consistent 2%-ish slowdown, both against git.git and linux.git. That's not a lot, but I'm wondering if there is some low-hanging fruit in the locking, or in the pattern of work being dispatched. Or it may just be noise, but it seems fairly consistent.
-Peff