Merge branch 'rs/discard-index-discard-array'

* rs/discard-index-discard-array:
  read-cache: free cache in discard_index
  read-cache: add simple performance test
This commit is contained in:
Junio C Hamano
2013-06-20 16:02:30 -07:00
5 changed files with 32 additions and 2 deletions

14
t/perf/p0002-read-cache.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
test_description="Tests performance of reading the index"
. ./perf-lib.sh
test_perf_default_repo
count=1000
test_perf "read_cache/discard_cache $count times" "
test-read-cache $count
"
test_done