Message ID | cover.1644495978.git.ps@pks.im (mailing list archive) |
---|---|
Headers | show |
Series | fetch: speed up mirror-fetches with many refs | expand |
1Patrick Steinhardt <ps@pks.im> writes: > this is the third version of my patch series which aimn to speed up > mirror-fetches in repos with huge amounts of refs. Again, the only > change compared to v2 is a change in commit messages: Chris has rightly > pointed out that the benchmarks were a bit confusing, so I've updated > them to hopefully be less so. > > Thanks for your feedback! > Patrick > > Patrick Steinhardt (2): > fetch-pack: use commit-graph when computing cutoff > fetch: skip computing output width when not printing anything Both changes are based on quite sensible idea. If we have precomputed dates for each commit, it makes sense to look it up before parsing the commit. If we are not preparing output, there is no point in computing the output width. Very simple and potentially effective. Will queue. Thanks.