[PATCH v5 06/10] fsck: add a performance test
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Sep 3, 2018, 14:49 UTC
- Message-ID
- <20180903144928.30691-7-avarab@gmail.com>
- In-Reply-To
- <2b31e12e-20e9-3d08-58bd-977f8b83e0a7@web.de>
Add a plain performance test for "fsck". This test will not be used to / referred to in any upcoming commit of mine in this series, but having a simple test for fsck performance is valuable, so let's add it while we're at it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/perf/p1450-fsck.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 t/perf/p1450-fsck.sh
diff --git a/t/perf/p1450-fsck.sh b/t/perf/p1450-fsck.sh new file mode 100755 index 0000000000..ae1b84198b --- /dev/null +++ b/t/perf/p1450-fsck.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +test_description='Test fsck performance' + +. ./perf-lib.sh + +test_perf_large_repo + +test_perf 'fsck' ' + git fsck +' + +test_done
-- 2.19.0.rc1.350.ge57e33dbd1