fsck: add a performance test
authorÆvar Arnfjörð Bjarmason <redacted>
Mon, 3 Sep 2018 14:49:24 +0000 (14:49 +0000)
committerJunio C Hamano <redacted>
Wed, 12 Sep 2018 22:17:46 +0000 (15:17 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/perf/p1450-fsck.sh [new file with mode: 0755]

diff --git a/t/perf/p1450-fsck.sh b/t/perf/p1450-fsck.sh
new file mode 100755 (executable)
index 0000000..ae1b841
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT