summaryrefslogtreecommitdiff
path: root/t/perf/p1450-fsck.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-09-03 14:49:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-12 22:17:46 (GMT)
commit6cb173b5b62c2e86febe06b8575ae808533a3834 (patch)
tree438d3dcdea122840bf27f9779e3dec46c9521f51 /t/perf/p1450-fsck.sh
parent12b1c50a426d84aadd9909ed42b1ed0b2d12d7e9 (diff)
downloadgit-6cb173b5b62c2e86febe06b8575ae808533a3834.zip
git-6cb173b5b62c2e86febe06b8575ae808533a3834.tar.gz
git-6cb173b5b62c2e86febe06b8575ae808533a3834.tar.bz2
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>
Diffstat (limited to 't/perf/p1450-fsck.sh')
-rwxr-xr-xt/perf/p1450-fsck.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/perf/p1450-fsck.sh b/t/perf/p1450-fsck.sh
new file mode 100755
index 0000000..ae1b841
--- /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