Re: [PATCH] write-tree performance problems
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 20, 2005, 16:41 UTC
- Message-ID
- <Pine.LNX.4.58.0504200939290.6467@ppc970.osdl.org>
- In-Reply-To
- <Pine.LNX.4.58.0504200931020.6467@ppc970.osdl.org>
On Wed, 20 Apr 2005, Linus Torvalds wrote:
> > NO! Don't see if this works. For the "sha1 file already exists" file, it > forgot to return the SHA1 value in "returnsha1", and would thus corrupt > the trees it wrote.
Proper version with fixes checked in. For me, it brings down the time to write a kernel tree from 0.34s to 0.24s, so a third of the time was just compressing objects that we ended up already having.
Two thirds to go ;)
Linus