Jeff King [off-list ref] writes:
That will spend quite a lot of time doing hash-lookups for each tree
entry. A better raw zlib test might be:
git cat-file --batch --batch-all-objects --unordered >/dev/null
which will just dump each object, and should mostly be zlib and delta
reconstruction (the --unordered is important to hit the deltas in the
right order).
;-)
I like --unordered has the meaning "use the order Git likes" (which
is probably the packfile offset order, which we optimize for
minimizing seek during delta reconstruction).