Re: [PATCH 2/2] merge-recursive: fix merging a subdirectory into the root directory
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 24, 2019, 22:22 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1910250020220.46@tvgsbejvaqbjf.bet>
- In-Reply-To
- <CABPp-BFYWhyLqUktEnk6A7v6135k4TQHO20Wiy32mRQekt-3cg@mail.gmail.com>
Hi Elijah,
On Tue, 22 Oct 2019, Elijah Newren wrote:
> [...] > Yes, t6043 is pretty long code-wise, and still has over five dozen > tests after ditching the separate "setup" tests -- but all of those > tests still run in 3.6s on my box. [...]
$ time sh t6043-*.sh --quiet not ok 74 - 9g-check: Renamed directory that only contained immediate subdirs, immediate subdirs renamed # TODO known breakage not ok 87 - 10e-check: Does git complain about untracked file that is not really in the way? # TODO known breakage # still have 2 known breakage(s) # passed all remaining 117 test(s) 1..119
real 7m22.393s user 0m52.115s sys 3m53.212s
And this is not a slow box. So yes, those extra spawned processes? They accumulate. Spawning processes is what Linux was optimized for. You're optimizing for Linux.
Ciao, Dscho