fsck: add a performance test

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> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Sep 3, 2018 at 14:49 UTC 6cb173b5b62c2e86febe06b8575ae808533a3834
1 file changed +13
t/perf/p1450-fsck.sh new
+13
@@ -0,0 +1,13 @@
1 +#!/bin/sh
2 +
3 +test_description='Test fsck performance'
4 +
5 +. ./perf-lib.sh
6 +
7 +test_perf_large_repo
8 +
9 +test_perf 'fsck' '
10 + git fsck
11 +'
12 +
13 +test_done