Revision 7b31b55db18f5348ee62ed283f115544bc1049ac authored by Ævar Arnfjörð Bjarmason on 29 December 2017, 22:59:03 UTC, committed by Junio C Hamano on 04 January 2018, 18:24:48 UTC
Ever since 5b594f457a ("Threaded grep", 2010-01-25) the number of
threads git-grep uses under PTHREADS has been hardcoded to 8, but
there's no performance test to check whether this is an optimal
setting.

Amend the existing tests for the grep engines to support a mode where
this can be tested, e.g.:

    GIT_PERF_GREP_THREADS='1 8 16' GIT_PERF_LARGE_REPO=~/g/linux ./run p782*

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1eaabe3
History
File Mode Size
xdiff.h -rw-r--r-- 3.8 KB
xdiffi.c -rw-r--r-- 27.1 KB
xdiffi.h -rw-r--r-- 1.9 KB
xemit.c -rw-r--r-- 7.5 KB
xemit.h -rw-r--r-- 1.2 KB
xhistogram.c -rw-r--r-- 9.0 KB
xinclude.h -rw-r--r-- 1.2 KB
xmacros.h -rw-r--r-- 1.9 KB
xmerge.c -rw-r--r-- 17.0 KB
xpatience.c -rw-r--r-- 10.6 KB
xprepare.c -rw-r--r-- 12.0 KB
xprepare.h -rw-r--r-- 1.0 KB
xtypes.h -rw-r--r-- 1.5 KB
xutils.c -rw-r--r-- 9.3 KB
xutils.h -rw-r--r-- 1.7 KB

back to top