]> source.dussan.org Git - jgit.git/commit
Add bitmap index misses to PackWriter.Statistics 92/48692/3
authorTerry Parker <tparker@google.com>
Tue, 12 May 2015 00:37:02 +0000 (17:37 -0700)
committerTerry Parker <tparker@google.com>
Tue, 26 May 2015 21:37:17 +0000 (14:37 -0700)
commit0e8ac496cd9bbfa3fa306ac45706f501fc24ac38
tree83383dd68d1481384d7a17bbae7b1dfb3cede635
parent2ad2d85bcda42b5f2fde3c4126f07519e2c75c79
Add bitmap index misses to PackWriter.Statistics

RevWalks to find commits that are not in bitmap indices are expensive.
Track the count of commits that are enumerated via RevWalks as "bitmap
index misses" in the PackWriter.Statistics class.

Change-Id: Ie0135a0a0aeba2dfb6df78839d545006629f16cb
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriterBitmapWalker.java