t / perf / p0002-read-cache.shon commit Use OPT_SET_INT_F() for cmdline option specification (3e4a67b)
   1#!/bin/sh
   2
   3test_description="Tests performance of reading the index"
   4
   5. ./perf-lib.sh
   6
   7test_perf_default_repo
   8
   9count=1000
  10test_perf "read_cache/discard_cache $count times" "
  11        test-tool read-cache $count
  12"
  13
  14test_done