Skip to content

fast-import: improve deltas for blobs

Dmitry Ivankov git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fast-import: count and report # of calls to diff_delta in statsfast-import.c+6 -40 replies
2/2fast-import: treat cat-blob as a delta base hint for next blobfast-import.c+6 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJonathan NiederDavid Barr
1/2
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fast-import: improve deltas for blobs

Currently delta base for blob objects is just a previous blob object written. This way we just keep the last one in memory and it's cheap (not too smart though and gains no pack size reduction most of the time). If we also keep as last blob a response to cat-blob (whose main purpose is to provide delta bases for a importer), svn-fe imports become faster and packs produced become smaller.

1/2 adds a diff_delta attemps count as a related and interesting number 2/2 gives a nice performance improvement for svn-fe produced imports

Dmitry Ivankov (2):
fast-import: count and report # of calls to diff_delta in stats
fast-import: treat cat-blob as a delta base hint for next blob

 fast-import.c |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.3.4