]> git.ipfire.org Git - thirdparty/git.git/commit
t/perf: add 'GIT_PERF_USE_SCALAR' run option
authorVictoria Dye <vdye@github.com>
Fri, 2 Sep 2022 15:56:49 +0000 (15:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2022 17:02:56 +0000 (10:02 -0700)
commitba1b117eec2f73c84f73f827e6f3ac8b82b35585
tree7f427548851f37a3aeea5bb68b252ae22fc96006
parente2809233d19e0faacedf59f229ec292cb9e7c7ef
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>
t/perf/README
t/perf/perf-lib.sh
t/perf/run