Skip to content

Commit 6cb173b

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 12b1c50 commit 6cb173b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

t/perf/p1450-fsck.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)