diff options
author | Neeraj Singh <neerajsi@microsoft.com> | 2022-04-04 22:20:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-06 13:13:26 -0700 |
commit | 5dccd9155f9e2774176beba3a22c14ca5e3fcdb1 (patch) | |
tree | 2ad783c85f8bae32c291917e34dff07dfc0cbff0 /commit.c | |
parent | d42bab442d7ca6bcc38aefe384e94d4320565b77 (diff) |
t/perf: add iteration setup mechanism to perf-lib
Tests that affect the repo in stateful ways are easier to write if we
can run setup steps outside of the measured portion of perf iteration.
This change adds a "--setup 'setup-script'" parameter to test_perf. To
make invocations easier to understand, I also moved the prerequisites to
a new --prereq parameter.
The setup facility will be used in the upcoming perf tests for batch
mode, but it already helps in some existing tests, like t5302 and t7820.
Signed-off-by: Neeraj Singh <neerajsi@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions