[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12747: 23.4; diff-auto-refine-mode process only last hunk in diff (m
From: |
Noam Postavsky |
Subject: |
bug#12747: 23.4; diff-auto-refine-mode process only last hunk in diff (must ALL). |
Date: |
Thu, 12 Jul 2018 15:54:42 -0400 |
On 12 July 2018 at 09:28, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> This reminds that magit users found binding write-region-inhibit-fsync
>> around smerge-refine-regions made a noticable performance difference.
>> So should we add something like this?
>
> Sounds good, yes (tho I'm surprised it'd make much of a difference,
> when your /tmp is on some kind of tmpfs). If you can add a URL
> pointing to the discussion where they found the noticable performance
> difference, that'd be even better.
Hmm, actually there wasn't that much discussion about it, one person
reported it made a big difference:
https://github.com/magit/magit/pull/2834
There was previous discussion about smerge refinement being slow, but
nobody narrowed it down to fsync in particular, and the conclusion
there was just "call smerge-refine-subst less".
https://github.com/magit/magit/issues/1581