Re: [PATCH 0/9] Make git-svn fetch ~1.7x faster
From: Adam Roben <hidden>
Date: 2016-06-15 22:43:44
Mike Hommey wrote:
On Mon, Oct 22, 2007 at 10:46:28PM -0700, Adam Roben wrote:quoted
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