From: Stefan Beller Date: Wed, 25 Nov 2015 18:47:05 GMT Subject: Re: Git super slow on Windows 7 Message-ID: In-Reply-To: <0B47434E-00FE-463A-95F1-1F10537C9F7A@gmail.com> On Wed, Nov 25, 2015 at 10:42 AM, Lars Schneider wrote: > After some investigation I figured that ~50 Submodules are the culprit. > Does anyone have an idea how to speed up Git on Windows while keeping 50 Submodules? > > Thanks, > Lars > > Use the latest version of Git ;) Checkout the series merged at 65e1449 (2015-10-05, Merge branch 'sb/submodule-helper') The infrastructure to rewrite "git submodule" in C is being built incrementally. Let's polish these early parts well enough and make them graduate to 'next' and 'master', so that the more involved follow-up can start cooking on a solid ground. * sb/submodule-helper: submodule: rewrite `module_clone` shell function in C submodule: rewrite `module_name` shell function in C submodule: rewrite `module_list` shell function in C More specifically the commits in there: submodule: rewrite `module_name` shell function in C This implements the helper `name` in C instead of shell, yielding a nice performance boost. Before this patch, I measured a time (best out of three): $ time ./t7400-submodule-basic.sh >/dev/null real 0m11.066s user 0m3.348s sys 0m8.534s With this patch applied I measured (also best out of three) $ time ./t7400-submodule-basic.sh >/dev/null real 0m10.063s user 0m3.044s sys 0m7.487s