diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-10-29 16:41:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-30 11:28:39 +0900 |
commit | 99ce720c338ebeb37331bd98f724569837c74d0d (patch) | |
tree | ce7d8197078f0ab98d9e599d2ef46a167e35dd17 /t/t9124-git-svn-dcommit-auto-props.sh | |
parent | Sixth batch for 2.20 (diff) | |
download | tgif-99ce720c338ebeb37331bd98f724569837c74d0d.tar.xz |
speed up refresh_index() by utilizing preload_index()
Speed up refresh_index() by utilizing preload_index() to do most of the work
spread across multiple threads. This works because most cache entries will
get marked CE_UPTODATE so that refresh_cache_ent() can bail out early when
called from within refresh_index().
On a Windows repo with ~200K files, this drops refresh times from 6.64
seconds to 2.87 seconds for a savings of 57%.
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9124-git-svn-dcommit-auto-props.sh')
0 files changed, 0 insertions, 0 deletions