diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2017-12-29 22:59:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-04 10:24:48 -0800 |
commit | 7b31b55db18f5348ee62ed283f115544bc1049ac (patch) | |
tree | a0b1fdfa79a94857a0277a90cf9350f6efd65516 /t/t3002-ls-files-dashpath.sh | |
parent | 1eaabe34fc6f486367a176207420378f587d3b48 (diff) | |
download | git-7b31b55db18f5348ee62ed283f115544bc1049ac.tar.gz |
perf: amend the grep tests to test grep.threadsab/perf-grep-threads
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>
Diffstat (limited to 't/t3002-ls-files-dashpath.sh')
0 files changed, 0 insertions, 0 deletions