You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add repository setting setup for enabling sparse index usage with `read-tree`.
In order to maintain behavior (and allow for focused adjustment of
implementation in later commits), index is expanded when `--no-sparse-checkout`
or `--prefix` is specified.
Substantial performance improvement for sparse index indicated by `p2000`
results:
Test before after
-----------------------------------------------------------------------------
git read-tree -mu HEAD (full-v3) 1.21(0.94+0.30) 1.37(1.06+0.33) +13.2%
git read-tree -mu HEAD (full-v4) 1.18(0.90+0.28) 1.35(1.06+0.31) +14.4%
git read-tree -mu HEAD (sparse-v3) 1.61(1.23+0.40) 0.14(0.07+0.05) -91.3%
git read-tree -mu HEAD (sparse-v4) 2.16(1.52+0.48) 0.14(0.07+0.05) -93.5%
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments