On Wed, Oct 12, 2016 at 12:59 AM, Jeff King <[email protected]> wrote:
> I'm not altogether convinced that parallel fetch would be that much
> faster, though.
I have local aliases to use GNU parallel for stuff like this, on my
git.git which has accumulated 17 remotes:
$ time parallel -j1 'git fetch {}' ::: $(git remote)
real 0m18.265s
$ time parallel -j8 'git fetch {}' ::: $(git remote)
real 0m2.957s
In that case I didn't have any new objects to fetch, but just doing
the negotiation in parallel was a lot faster.
So there's big wins in some cases.