[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] Smudged Index Update Performance
- From: Markus Duft <markus.duft@xxxxxxxxxx>
- Date: Thu, 05 Jul 2012 15:08:17 +0200
- Delivered-to: firstname.lastname@example.org
- Organization: Salomon Automation GmbH
- User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120625 Thunderbird/13.0
On 07/05/2012 02:54 PM, Christian Halstrick wrote:
> this sounds like the bug I found & fixed with commit c9e507c0b9fe9
> (Change-Id: I568dec77635013cf6bb46f652d3f2b89de041c82). Just make sure
> your are running an egit version which contains this commit. Current
> master and even stable2.0 contain this fix.
nope - it sounds like your fix made it worse in this case. it seems that in this particular case, jgit wants to update /all/ entries in the index (why?). at least the filter is populated with all entries in the working tree. this means it cross-checks every path with every path (hence quadratic runtime). Without the filter, it would have been way faster xD
still thanks for the tip - i immediately grabbed your fix back when it was merged - thats the point where merge operations got slow.
> On Thu, Jul 5, 2012 at 11:43 AM, Markus Duft <markus.duft@xxxxxxxxxx> wrote:
>> e, so you ca