aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/object_test.go
diff options
context:
space:
mode:
authorJeremy Stribling <strib@alum.mit.edu>2017-08-25 16:26:04 -0700
committerJeremy Stribling <strib@alum.mit.edu>2017-08-28 10:10:16 -0700
commitcdddb7a38b448f999a54e4e4ef14b5c62c198676 (patch)
treead4f316055152375d333e0acba65e491936f7c1a /storage/filesystem/object_test.go
parentbff1d06e40f70566a779880b2edeb53ad1930609 (diff)
downloadgo-git-cdddb7a38b448f999a54e4e4ef14b5c62c198676.tar.gz
plumbing: use sliding window in delta calculations, like git CL
This sets a default sliding window of 10 for the delta calculation, just like git CL: https://git-scm.com/docs/git-pack-objects#git-pack-objects---windowltngt For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `deltaSelection.walk` during a push from more than 14 minutes to about a minute.
Diffstat (limited to 'storage/filesystem/object_test.go')
0 files changed, 0 insertions, 0 deletions