aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2025-04-12 18:15:32 +0000
committerJunio C Hamano <gitster@pobox.com>2025-04-14 14:48:12 -0700
commit1665f12fa0990830194fb85a6690b583f12552a1 (patch)
treef24d1d69aca38875e87c269a2599011d5cd5630d /t
parentp9210: fix 'scalar clone' when running from a detached HEAD (diff)
downloadgit-1665f12fa0990830194fb85a6690b583f12552a1.tar.gz
git-1665f12fa0990830194fb85a6690b583f12552a1.zip
p7821: fix instructions for testing with threads
In 7b31b55db1 (perf: amend the grep tests to test grep.threads, 2017-12-29), p7821 was tweaked to test the performance of 'git grep' under different number of threads. These tests are run if GIT_PERF_GREP_THREADS is set to a list of thread numbers, but the comment at the top of the file instead mentions GIT_PERF_7821_THREADS. Fix the comment. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/perf/p7821-grep-engines-fixed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/perf/p7821-grep-engines-fixed.sh b/t/perf/p7821-grep-engines-fixed.sh
index 1d126c7b03..66bec284e3 100755
--- a/t/perf/p7821-grep-engines-fixed.sh
+++ b/t/perf/p7821-grep-engines-fixed.sh
@@ -7,7 +7,7 @@ git-grep. Make sure to include a leading space,
e.g. GIT_PERF_7821_GREP_OPTS=' -w'. See p7820-grep-engines.sh for more
options to try.
-If GIT_PERF_7821_THREADS is set to a list of threads (e.g. '1 4 8'
+If GIT_PERF_GREP_THREADS is set to a list of threads (e.g. '1 4 8'
etc.) we will test the patterns under those numbers of threads.
"