p0004: don't error out if test repo is too small
authorRené Scharfe <redacted>
Sat, 13 May 2017 16:03:50 +0000 (18:03 +0200)
committerJunio C Hamano <redacted>
Tue, 16 May 2017 02:11:56 +0000 (11:11 +0900)
commitc5a915739386a59e00c95632801f43d4740a64aa
treebb760bad3467039af2ff3ea4d59a8397d21ec2e7
parent7b0d409eb28c4c92fa292dfc3ac468cb0f42d2bf
p0004: don't error out if test repo is too small

Repositories with less than 4000 entries are always handled using a
single thread, causing test-lazy-init-name-hash --multi to error out.
Don't abort the whole test script in that case, but simply skip the
multi-threaded performance check.  We can still use it to compare the
single-threaded speed of different versions in that case.

Signed-off-by: Rene Scharfe <redacted>
Acked-by: Jeff Hostetler <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/perf/p0004-lazy-init-name-hash.sh
git clone https://git.99rst.org/PROJECT