3 test_description
="Tests performance of writing the index"
9 test_expect_success
"setup repo" '
10 if git rev-parse --verify refs/heads/p0006-ballast^{commit}
12 echo Assuming synthetic repo from many-files.sh
13 git config --local core.sparsecheckout 1
14 cat >.git/info/sparse-checkout <<-EOF
19 echo Assuming non-synthetic repo...
21 nr_files=$(git ls-files | wc -l)
25 test_perf
"write_locked_index $count times ($nr_files files)" "
26 test-tool write-cache $count