1
0
mirror of https://github.com/git/git synced 2024-07-02 15:48:44 +00:00
git/t/perf/p0002-read-cache.sh
Nguyễn Thái Ngọc Duy 5fbe600cb5 t/helper: merge test-read-cache into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-03-27 08:45:47 -07:00

15 lines
216 B
Bash
Executable File

#!/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-tool read-cache $count
"
test_done