]> git.ipfire.org Git - thirdparty/git.git/commitdiff
p7821: fix instructions for testing with threads
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sat, 12 Apr 2025 18:15:32 +0000 (18:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Apr 2025 21:48:12 +0000 (14:48 -0700)
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>
t/perf/p7821-grep-engines-fixed.sh

index 1d126c7b039fec0080c1ffc08b63a0d56ed2f07a..66bec284e3b32a6e9f7c7acd670f149519764ec7 100755 (executable)
@@ -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.
 "