read-cache: add simple performance test
Add the helper test-read-cache, which can be used to call read_cache and discard_cache in a loop as well as a performance check based on it. Signed-off-by: NRené Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
t/perf/p0002-read-cache.sh
0 → 100755
test-read-cache.c
0 → 100644
想要评论请 注册 或 登录