summaryrefslogtreecommitdiff
path: root/t/t6020-merge-df.sh
diff options
context:
space:
mode:
authorLibravatar David Turner <dturner@twopensource.com>2014-06-03 23:38:10 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-05 15:24:50 -0700
commitdde8a902c774268628015705a7767f61af18b865 (patch)
tree063e41ca57518a1e61774f5f5bab1f51c528e083 /t/t6020-merge-df.sh
parentFirst batch for 2.1 (diff)
downloadtgif-dde8a902c774268628015705a7767f61af18b865.tar.xz
refs.c: optimize check_refname_component()
In a repository with many refs, check_refname_component can be a major contributor to the runtime of some git commands. One such command is git rev-parse HEAD Timings for one particular repo, with about 60k refs, almost all packed, are: Old: 35 ms New: 29 ms Many other commands which read refs are also sped up. Signed-off-by: David Turner <dturner@twitter.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6020-merge-df.sh')
0 files changed, 0 insertions, 0 deletions