Skip to content

improve --exclude-promisor-objects performance

Aaron Plattner git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2object: apply skip_hash and discard_tree optimizations to unknown blobs tooobject.c+2 -20 replies
2/2packfile: skip hash checks in add_promisor_object()packfile.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] improve --exclude-promisor-objects performance

This series fixes the PARSE_OBJECT_SKIP_HASH_CHECK optimization in parse_object_with_flags() so that it applies to objects with their type set to OBJ_NONE too, and then uses that behavior significantly improve the performance of add_promisor_object().

Aaron Plattner (2):
object: apply skip_hash and discard_tree optimizations to unknown
blobs too
packfile: skip hash checks in add_promisor_object()

 object.c   | 4 ++--
 packfile.c | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
Signature · 1 line
2.52.0