[PATCH 0/2] (re-)optimizing fsck --connectivity-only
- From
Jeff King <peff@peff.net>
- Date
- Jan 26, 2017, 04:10 UTC
- Message-ID
- <20170126041025.hqg3znwew7jxgxxg@sigill.intra.peff.net>
I've been playing around with the newly-fixed `fsck --connectivity-only`. While it's much faster than it was, I was sad to find a case that is still much slower than "git rev-list --objects --all".
This goes on top of my origin/jk/fsck-connectivity-check-fix, and gives a noticeable speedup. IMHO it's worth considering as part of the same topic (which is currently in 'next').
[1/2]: fsck: move typename() printing to its own function [2/2]: fsck: lazily load types under --connectivity-only
builtin/fsck.c | 87 ++++++++++++++++++---------------------------------------- fsck.c | 4 +++ 2 files changed, 31 insertions(+), 60 deletions(-)
-Peff