summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2022-01-04 11:10:04 -0800
committerIvan Frade <ifrade@google.com>2023-02-16 10:25:44 -0800
commit596c445af22ed9b6e0b7e35de44c127fcb8ecf7d (patch)
treebc5659615b6646dbdb469a8a4e3c97be9ec19e29 /org.eclipse.jgit.pgm/src/org
parentc9552abaf3286f5b277d64f78c46020fe3978aa3 (diff)
downloadjgit-596c445af22ed9b6e0b7e35de44c127fcb8ecf7d.tar.gz
jgit-596c445af22ed9b6e0b7e35de44c127fcb8ecf7d.zip
PackConfig: add entry for minimum size to index
The object size index can have up to #(blobs-in-repo) entries, taking a relevant amount of memory. Let operators configure the threshold size to include objects in the size index. The index will include objects with size *at or above* this value (with -1 for none). This is more effective for the filter-by-size case. Lowering the threshold adds more objects to the index. This improves performance at the cost of memory/storage space. For the object-size case, more calls will use the index instead of reading IO. For the filter-by-size case, lower threshold means better granularity (if ObjectReader#isSmallerThan is implemented based only on the index). Change-Id: I6ccd9334adbbc2abf95fde51dbbfc85b8230ade0
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org')
0 files changed, 0 insertions, 0 deletions