aboutsummaryrefslogtreecommitdiffstats
path: root/t/perf/README
diff options
context:
space:
mode:
authorVictoria Dye <vdye@github.com>2022-09-02 15:56:49 +0000
committerJunio C Hamano <gitster@pobox.com>2022-09-02 10:02:56 -0700
commitba1b117eec2f73c84f73f827e6f3ac8b82b35585 (patch)
tree7f427548851f37a3aeea5bb68b252ae22fc96006 /t/perf/README
parente2809233d19e0faacedf59f229ec292cb9e7c7ef (diff)
downloadgit-ba1b117eec2f73c84f73f827e6f3ac8b82b35585.tar.gz
t/perf: add 'GIT_PERF_USE_SCALAR' run option
Add a 'GIT_PERF_USE_SCALAR' environment variable (and corresponding perf config 'useScalar') to register a repository created with any of: * test_perf_fresh_repo * test_perf_default_repo * test_perf_large_repo as a Scalar enlistment. This is intended to allow a developer to test the impact of Scalar on already-defined performance scenarios. Suggested-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Victoria Dye <vdye@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/README')
-rw-r--r--t/perf/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/perf/README b/t/perf/README
index fb9127a66f..8f217d7be7 100644
--- a/t/perf/README
+++ b/t/perf/README
@@ -95,6 +95,10 @@ You can set the following variables (also in your config.mak):
Git (e.g., performance of index-pack as the number of threads
changes). These can be enabled with GIT_PERF_EXTRA.
+ GIT_PERF_USE_SCALAR
+ Boolean indicating whether to register test repo(s) with Scalar
+ before executing tests.
+
You can also pass the options taken by ordinary git tests; the most
useful one is: