Merge branch 'ab/config-based-hooks-base' into seen
[git] / t / perf / p0002-read-cache.sh
1 #!/bin/sh
2
3 test_description="Tests performance of reading the index"
4
5 . ./perf-lib.sh
6
7 test_perf_default_repo
8
9 count=1000
10 test_perf "read_cache/discard_cache $count times" "
11         test-tool read-cache-perf --count=$count
12 "
13
14 count=100
15 test_perf "refresh_index() $count times" "
16         test-tool read-cache-perf --count=$count --refresh
17 "
18
19 test_done