java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsReaderIoStats
IO statistics for a
DfsReader.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPOJO to accumulate IO statistics. -
Method Summary
Modifier and TypeMethodDescriptionlongGet total number of bitmap index cache hits.longGet total number of block cache hits.longGet total number of bytes read from commit graphs.longGet total number of commit graph cache hits.longGet total number of bytes decompressed.longGet total microseconds spent inflating compressed bytes.longGet count of invocations toDfsReader.isNotLargerThan(AnyObjectId, int, long)longGet total number of bytes read from object size indexes.longGet total number of object size index cache hits.longGet number of times the size of a blob was found in the object size index.longGet number of times the size of an object was not found in the object size index.longGet total number of pack index cache hits.longGet total number of bytes read from bitmap indexes.longGet total number of complete bitmap indexes read into memory.longGet total microseconds spent reading bitmap indexes.longGet total number of compressed bytes read during cache misses, as block sized units.longGet total number of discrete blocks actually read from pack file(s), that is, block cache misses.longGet total microseconds spent reading blocks during cache misses.longGet total number of times the commit graph read into memory.longGet total microseconds spent reading commit graphs.longGet total number of bytes read from pack indexes.longGet total microseconds spent reading pack indexes.longGet total number of complete object size indexes read into memory.longGet total microseconds spent reading object size indexes.longGet total number of complete pack indexes read into memory.longGet total number of times the reverse index was computed.longGet total microseconds spent creating reverse indexes.longGet total number of reverse index cache hits.longGet number of times the reader explicitly called scanPacks.
-
Method Details
-
getScanPacks
public long getScanPacks()Get number of times the reader explicitly called scanPacks.- Returns:
- number of times the reader explicitly called scanPacks.
-
getPackIndexCacheHits
public long getPackIndexCacheHits()Get total number of pack index cache hits.- Returns:
- total number of pack index cache hits.
-
getReverseIndexCacheHits
public long getReverseIndexCacheHits()Get total number of reverse index cache hits.- Returns:
- total number of reverse index cache hits.
-
getBitmapIndexCacheHits
public long getBitmapIndexCacheHits()Get total number of bitmap index cache hits.- Returns:
- total number of bitmap index cache hits.
-
getCommitGraphCacheHits
public long getCommitGraphCacheHits()Get total number of commit graph cache hits.- Returns:
- total number of commit graph cache hits.
-
getObjectSizeIndexCacheHits
public long getObjectSizeIndexCacheHits()Get total number of object size index cache hits.- Returns:
- total number of object size index cache hits.
-
getReadPackIndexCount
public long getReadPackIndexCount()Get total number of complete pack indexes read into memory.- Returns:
- total number of complete pack indexes read into memory.
-
getReadReverseIndexCount
public long getReadReverseIndexCount()Get total number of times the reverse index was computed.- Returns:
- total number of reverse index was computed.
-
getReadBitmapIndexCount
public long getReadBitmapIndexCount()Get total number of complete bitmap indexes read into memory.- Returns:
- total number of complete bitmap indexes read into memory.
-
getReadCommitGraphCount
public long getReadCommitGraphCount()Get total number of times the commit graph read into memory.- Returns:
- total number of commit graph read into memory.
-
getReadObjectSizeIndexCount
public long getReadObjectSizeIndexCount()Get total number of complete object size indexes read into memory.- Returns:
- total number of complete object size indexes read into memory.
-
getReadIndexBytes
public long getReadIndexBytes()Get total number of bytes read from pack indexes.- Returns:
- total number of bytes read from pack indexes.
-
getReadBitmapIndexBytes
public long getReadBitmapIndexBytes()Get total number of bytes read from bitmap indexes.- Returns:
- total number of bytes read from bitmap indexes.
-
getCommitGraphBytes
public long getCommitGraphBytes()Get total number of bytes read from commit graphs.- Returns:
- total number of bytes read from commit graphs.
-
getObjectSizeIndexBytes
public long getObjectSizeIndexBytes()Get total number of bytes read from object size indexes.- Returns:
- total number of bytes read from object size indexes.
-
getReadIndexMicros
public long getReadIndexMicros()Get total microseconds spent reading pack indexes.- Returns:
- total microseconds spent reading pack indexes.
-
getReadReverseIndexMicros
public long getReadReverseIndexMicros()Get total microseconds spent creating reverse indexes.- Returns:
- total microseconds spent creating reverse indexes.
-
getReadBitmapIndexMicros
public long getReadBitmapIndexMicros()Get total microseconds spent reading bitmap indexes.- Returns:
- total microseconds spent reading bitmap indexes.
-
getReadCommitGraphMicros
public long getReadCommitGraphMicros()Get total microseconds spent reading commit graphs.- Returns:
- total microseconds spent reading commit graphs.
-
getReadObjectSizeIndexMicros
public long getReadObjectSizeIndexMicros()Get total microseconds spent reading object size indexes.- Returns:
- total microseconds spent reading object size indexes.
-
getBlockCacheHits
public long getBlockCacheHits()Get total number of block cache hits.- Returns:
- total number of block cache hits.
-
getReadBlocksCount
public long getReadBlocksCount()Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.- Returns:
- total number of discrete blocks read from pack file(s).
-
getReadBlocksBytes
public long getReadBlocksBytes()Get total number of compressed bytes read during cache misses, as block sized units.- Returns:
- total number of compressed bytes read as block sized units.
-
getReadBlocksMicros
public long getReadBlocksMicros()Get total microseconds spent reading blocks during cache misses.- Returns:
- total microseconds spent reading blocks.
-
getInflatedBytes
public long getInflatedBytes()Get total number of bytes decompressed.- Returns:
- total number of bytes decompressed.
-
getInflationMicros
public long getInflationMicros()Get total microseconds spent inflating compressed bytes.- Returns:
- total microseconds inflating compressed bytes.
-
getIsNotLargerThanCallCount
public long getIsNotLargerThanCallCount()Get count of invocations toDfsReader.isNotLargerThan(AnyObjectId, int, long)Each call could use the object-size index or not.
- Returns:
- how many times the size of an object was checked with
DfsReader.isNotLargerThan(AnyObjectId, int, long)
-
getObjectSizeIndexHits
public long getObjectSizeIndexHits()Get number of times the size of a blob was found in the object size index.This counts only queries for blobs on packs with object size index.
- Returns:
- count of object size index hits
-
getObjectSizeIndexMisses
public long getObjectSizeIndexMisses()Get number of times the size of an object was not found in the object size index. This usually means it was below the threshold.This counts only queries for blobs on packs with object size index.
- Returns:
- count of object size index misses.
-