Re: [PATCH 11/11] Improve merge performance by avoiding in-index merges.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 28, 2006, 08:08 UTC
- Message-ID
- <7vejqkxx1s.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061228073534.GK17867@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> For a really trivial merge which can be handled entirely by > `read-tree -m -u`, skipping the read-tree and just going directly > into merge-recursive saves on average 50 ms on my PowerPC G4 system. > May sound odd, but it does appear to be true.
This sounds awfully attractive yet disruptive. Should be cooked in 'next' for at least two weeks, maybe even longer to verify that performance figure holds for everybody.
Also I think you need to make sure running merge-recursive upfront offers the same safety as the code you are removing then running it, as I vaguely recall its checking for local changes were slightly looser.