Re: [PATCH 0/9] Make git-svn fetch ~1.7x faster
- From
Adam Roben <aroben@apple.com>
- Date
- Oct 23, 2007, 06:13 UTC
- Message-ID
- <471D911C.6070704@apple.com>
- In-Reply-To
- <20071023060812.GA30978@glandium.org>
Mike Hommey wrote:
Show 12 quoted lines
> On Mon, Oct 22, 2007 at 10:46:28PM -0700, Adam Roben wrote: > >> This patch series makes git-svn fetch about 1.7x faster by reducing the number >> of forks/execs that occur for each file retrieved from Subversion. To do so, a >> few new options are added to git-cat-file and git-hash-object to allow >> continuous input on stdin and continuous output on stdout, so that one instance >> of each of these commands can be kept running for the duration of the fetch. >> > > You don't need to do this to avoid forks. Just use git-fast-import > instead. >
I agree that fast-import is probably ultimately a better solution for this, but given that git-svn currently uses the output of every command it forks off and that fast-import doesn't seem to give the same output, changing git-svn to use fast-import would be a fairly sweeping change that I didn't feel comfortable making without a better understanding of git-svn.
-Adam