Message ID | abd146b7c2a62aaef5c22269cff155387f33fe32.1744481732.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 1665f12fa0990830194fb85a6690b583f12552a1 |
Headers | show |
Series | Two perf test fixes | expand |
"Philippe Blain via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Philippe Blain <levraiphilippeblain@gmail.com> > > 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> > --- > t/perf/p7821-grep-engines-fixed.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks.
diff --git a/t/perf/p7821-grep-engines-fixed.sh b/t/perf/p7821-grep-engines-fixed.sh index 1d126c7b039..66bec284e3b 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. "