Top Description Inners Fields Constructors Methods
org.eclipse.jgit.internal.storage.dfs

public Class DfsReaderIoStats

extends Object
Class Inheritance
Imports
org.eclipse.jgit.lib.AnyObjectId

IO statistics for a org.eclipse.jgit.internal.storage.dfs.DfsReader.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
DfsReaderIoStats.Accumulator

POJO to accumulate IO statistics.

Field Summary

Modifier and TypeField and Description
private final DfsReaderIoStats.Accumulator

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

total number of bitmap index cache hits.
getBitmapIndexCacheHits
()

Get total number of bitmap index cache hits.

public long

Returns:

total number of block cache hits.
getBlockCacheHits
()

Get total number of block cache hits.

public long

Returns:

total number of bytes read from commit graphs.
getCommitGraphBytes
()

Get total number of bytes read from commit graphs.

public long

Returns:

total number of commit graph cache hits.
getCommitGraphCacheHits
()

Get total number of commit graph cache hits.

public long

Returns:

total number of bytes decompressed.
getInflatedBytes
()

Get total number of bytes decompressed.

public long

Returns:

total microseconds inflating compressed bytes.
getInflationMicros
()

Get total microseconds spent inflating compressed bytes.

public long

Returns:

how many times the size of an object was checked with DfsReader#isNotLargerThan(AnyObjectId, int, long)
getIsNotLargerThanCallCount
()

Get count of invocations to DfsReader#isNotLargerThan(AnyObjectId, int, long)

Each call could use the object-size index or not.

public long

Returns:

total number of bytes read from object size indexes.
getObjectSizeIndexBytes
()

Get total number of bytes read from object size indexes.

public long

Returns:

total number of object size index cache hits.
getObjectSizeIndexCacheHits
()

Get total number of object size index cache hits.

public long

Returns:

count of object size index hits
getObjectSizeIndexHits
()

Get number of times the size of a blob was found in the object size index.

public long

Returns:

count of object size index misses.
getObjectSizeIndexMisses
()

Get number of times the size of an object was not found in the object size index.

public long

Returns:

total number of pack index cache hits.
getPackIndexCacheHits
()

Get total number of pack index cache hits.

public long

Returns:

total number of bytes read from bitmap indexes.
getReadBitmapIndexBytes
()

Get total number of bytes read from bitmap indexes.

public long

Returns:

total number of complete bitmap indexes read into memory.
getReadBitmapIndexCount
()

Get total number of complete bitmap indexes read into memory.

public long

Returns:

total microseconds spent reading bitmap indexes.
getReadBitmapIndexMicros
()

Get total microseconds spent reading bitmap indexes.

public long

Returns:

total number of compressed bytes read as block sized units.
getReadBlocksBytes
()

Get total number of compressed bytes read during cache misses, as block sized units.

public long

Returns:

total number of discrete blocks read from pack file(s).
getReadBlocksCount
()

Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.

public long

Returns:

total microseconds spent reading blocks.
getReadBlocksMicros
()

Get total microseconds spent reading blocks during cache misses.

public long

Returns:

total number of commit graph read into memory.
getReadCommitGraphCount
()

Get total number of times the commit graph read into memory.

public long

Returns:

total microseconds spent reading commit graphs.
getReadCommitGraphMicros
()

Get total microseconds spent reading commit graphs.

public long

Returns:

total number of bytes read from pack indexes.
getReadIndexBytes
()

Get total number of bytes read from pack indexes.

public long

Returns:

total microseconds spent reading pack indexes.
getReadIndexMicros
()

Get total microseconds spent reading pack indexes.

public long

Returns:

total number of complete object size indexes read into memory.
getReadObjectSizeIndexCount
()

Get total number of complete object size indexes read into memory.

public long

Returns:

total microseconds spent reading object size indexes.
getReadObjectSizeIndexMicros
()

Get total microseconds spent reading object size indexes.

public long

Returns:

total number of complete pack indexes read into memory.
getReadPackIndexCount
()

Get total number of complete pack indexes read into memory.

public long

Returns:

total number of reverse index was computed.
getReadReverseIndexCount
()

Get total number of times the reverse index was computed.

public long

Returns:

total microseconds spent creating reverse indexes.
getReadReverseIndexMicros
()

Get total microseconds spent creating reverse indexes.

public long

Returns:

total number of reverse index cache hits.
getReverseIndexCacheHits
()

Get total number of reverse index cache hits.

public long

Returns:

number of times the reader explicitly called scanPacks.
getScanPacks
()

Get number of times the reader explicitly called scanPacks.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

statsback to summary
private final DfsReaderIoStats.Accumulator stats

Constructor Detail

DfsReaderIoStatsback to summary
pack-priv DfsReaderIoStats(DfsReaderIoStats.Accumulator stats)

Method Detail

getBitmapIndexCacheHitsback to summary
public long getBitmapIndexCacheHits()

Get total number of bitmap index cache hits.

Returns:long

total number of bitmap index cache hits.

getBlockCacheHitsback to summary
public long getBlockCacheHits()

Get total number of block cache hits.

Returns:long

total number of block cache hits.

getCommitGraphBytesback to summary
public long getCommitGraphBytes()

Get total number of bytes read from commit graphs.

Returns:long

total number of bytes read from commit graphs.

getCommitGraphCacheHitsback to summary
public long getCommitGraphCacheHits()

Get total number of commit graph cache hits.

Returns:long

total number of commit graph cache hits.

getInflatedBytesback to summary
public long getInflatedBytes()

Get total number of bytes decompressed.

Returns:long

total number of bytes decompressed.

getInflationMicrosback to summary
public long getInflationMicros()

Get total microseconds spent inflating compressed bytes.

Returns:long

total microseconds inflating compressed bytes.

getIsNotLargerThanCallCountback to summary
public long getIsNotLargerThanCallCount()

Get count of invocations to DfsReader#isNotLargerThan(AnyObjectId, int, long)

Each call could use the object-size index or not.

Returns:long

how many times the size of an object was checked with DfsReader#isNotLargerThan(AnyObjectId, int, long)

getObjectSizeIndexBytesback to summary
public long getObjectSizeIndexBytes()

Get total number of bytes read from object size indexes.

Returns:long

total number of bytes read from object size indexes.

getObjectSizeIndexCacheHitsback to summary
public long getObjectSizeIndexCacheHits()

Get total number of object size index cache hits.

Returns:long

total number of object size index cache hits.

getObjectSizeIndexHitsback to summary
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:long

count of object size index hits

getObjectSizeIndexMissesback to summary
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:long

count of object size index misses.

getPackIndexCacheHitsback to summary
public long getPackIndexCacheHits()

Get total number of pack index cache hits.

Returns:long

total number of pack index cache hits.

getReadBitmapIndexBytesback to summary
public long getReadBitmapIndexBytes()

Get total number of bytes read from bitmap indexes.

Returns:long

total number of bytes read from bitmap indexes.

getReadBitmapIndexCountback to summary
public long getReadBitmapIndexCount()

Get total number of complete bitmap indexes read into memory.

Returns:long

total number of complete bitmap indexes read into memory.

getReadBitmapIndexMicrosback to summary
public long getReadBitmapIndexMicros()

Get total microseconds spent reading bitmap indexes.

Returns:long

total microseconds spent reading bitmap indexes.

getReadBlocksBytesback to summary
public long getReadBlocksBytes()

Get total number of compressed bytes read during cache misses, as block sized units.

Returns:long

total number of compressed bytes read as block sized units.

getReadBlocksCountback to summary
public long getReadBlocksCount()

Get total number of discrete blocks actually read from pack file(s), that is, block cache misses.

Returns:long

total number of discrete blocks read from pack file(s).

getReadBlocksMicrosback to summary
public long getReadBlocksMicros()

Get total microseconds spent reading blocks during cache misses.

Returns:long

total microseconds spent reading blocks.

getReadCommitGraphCountback to summary
public long getReadCommitGraphCount()

Get total number of times the commit graph read into memory.

Returns:long

total number of commit graph read into memory.

getReadCommitGraphMicrosback to summary
public long getReadCommitGraphMicros()

Get total microseconds spent reading commit graphs.

Returns:long

total microseconds spent reading commit graphs.

getReadIndexBytesback to summary
public long getReadIndexBytes()

Get total number of bytes read from pack indexes.

Returns:long

total number of bytes read from pack indexes.

getReadIndexMicrosback to summary
public long getReadIndexMicros()

Get total microseconds spent reading pack indexes.

Returns:long

total microseconds spent reading pack indexes.

getReadObjectSizeIndexCountback to summary
public long getReadObjectSizeIndexCount()

Get total number of complete object size indexes read into memory.

Returns:long

total number of complete object size indexes read into memory.

getReadObjectSizeIndexMicrosback to summary
public long getReadObjectSizeIndexMicros()

Get total microseconds spent reading object size indexes.

Returns:long

total microseconds spent reading object size indexes.

getReadPackIndexCountback to summary
public long getReadPackIndexCount()

Get total number of complete pack indexes read into memory.

Returns:long

total number of complete pack indexes read into memory.

getReadReverseIndexCountback to summary
public long getReadReverseIndexCount()

Get total number of times the reverse index was computed.

Returns:long

total number of reverse index was computed.

getReadReverseIndexMicrosback to summary
public long getReadReverseIndexMicros()

Get total microseconds spent creating reverse indexes.

Returns:long

total microseconds spent creating reverse indexes.

getReverseIndexCacheHitsback to summary
public long getReverseIndexCacheHits()

Get total number of reverse index cache hits.

Returns:long

total number of reverse index cache hits.

getScanPacksback to summary
public long getScanPacks()

Get number of times the reader explicitly called scanPacks.

Returns:long

number of times the reader explicitly called scanPacks.

org.eclipse.jgit.internal.storage.dfs back to summary

public Class DfsReaderIoStats.Accumulator

extends Object
Class Inheritance
  • java.lang.Object
  • org.eclipse.jgit.internal.storage.dfs.DfsReaderIoStats.Accumulator

POJO to accumulate IO statistics.

Field Summary

Modifier and TypeField and Description
pack-priv long
bitmapCacheHit

Total number of cache hits for bitmap indexes.

pack-priv long
blockCacheHit

Total number of block cache hits.

pack-priv long
commitGraphCacheHit

Total number of cache hits for commit graphs.

pack-priv long
idxCacheHit

Total number of cache hits for pack indexes.

pack-priv long
inflatedBytes

Total number of bytes decompressed.

pack-priv long
inflationMicros

Total microseconds spent inflating compressed bytes.

pack-priv long
isNotLargerThanCallCount

Count of queries for the size of an object via #isNotLargerThan

pack-priv long
objectSizeIndexCacheHit

Total number of cache hits for object size indexes.

pack-priv long
objectSizeIndexHit

Object size found in the object size index

pack-priv long
objectSizeIndexMiss

Object was below threshold in the object size index

pack-priv long
readBitmap

Total number of complete bitmap indexes read into memory.

pack-priv long
readBitmapIdxBytes

Total number of bytes read from bitmap indexes.

pack-priv long
readBitmapIdxMicros

Total microseconds spent reading bitmap indexes.

pack-priv long
readBlock

Total number of discrete blocks actually read from pack file(s), that is, block cache misses.

pack-priv long
readBlockBytes

Total number of compressed bytes read during cache misses, as block sized units.

pack-priv long
readBlockMicros

Total microseconds spent reading readBlock blocks.

pack-priv long
readCommitGraph

Total number of complete commit graphs read into memory.

pack-priv long
readCommitGraphBytes

Total number of bytes read from commit graphs.

pack-priv long
readCommitGraphMicros

Total microseconds spent creating commit graphs.

pack-priv long
readIdx

Total number of complete pack indexes read into memory.

pack-priv long
readIdxBytes

Total number of bytes read from pack indexes.

pack-priv long
readIdxMicros

Total microseconds spent reading pack indexes.

pack-priv long
readObjectSizeIndex

Total number of object size indexes added into memory.

pack-priv long
readObjectSizeIndexBytes

Total numer of bytes read from object size index

pack-priv long
readObjectSizeIndexMicros

Total microseconds spent creating object size indexes

pack-priv long
readReverseIdx

Total number of reverse indexes added into memory.

pack-priv long
readReverseIdxMicros

Total microseconds spent creating reverse indexes.

pack-priv long
ridxCacheHit

Total number of cache hits for reverse indexes.

pack-priv long
scanPacks

Number of times the reader explicitly called scanPacks.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bitmapCacheHitback to summary
pack-priv long bitmapCacheHit

Total number of cache hits for bitmap indexes.

blockCacheHitback to summary
pack-priv long blockCacheHit

Total number of block cache hits.

commitGraphCacheHitback to summary
pack-priv long commitGraphCacheHit

Total number of cache hits for commit graphs.

idxCacheHitback to summary
pack-priv long idxCacheHit

Total number of cache hits for pack indexes.

inflatedBytesback to summary
pack-priv long inflatedBytes

Total number of bytes decompressed.

inflationMicrosback to summary
pack-priv long inflationMicros

Total microseconds spent inflating compressed bytes.

isNotLargerThanCallCountback to summary
pack-priv long isNotLargerThanCallCount

Count of queries for the size of an object via #isNotLargerThan

objectSizeIndexCacheHitback to summary
pack-priv long objectSizeIndexCacheHit

Total number of cache hits for object size indexes.

objectSizeIndexHitback to summary
pack-priv long objectSizeIndexHit

Object size found in the object size index

objectSizeIndexMissback to summary
pack-priv long objectSizeIndexMiss

Object was below threshold in the object size index

readBitmapback to summary
pack-priv long readBitmap

Total number of complete bitmap indexes read into memory.

readBitmapIdxBytesback to summary
pack-priv long readBitmapIdxBytes

Total number of bytes read from bitmap indexes.

readBitmapIdxMicrosback to summary
pack-priv long readBitmapIdxMicros

Total microseconds spent reading bitmap indexes.

readBlockback to summary
pack-priv long readBlock

Total number of discrete blocks actually read from pack file(s), that is, block cache misses.

readBlockBytesback to summary
pack-priv long readBlockBytes

Total number of compressed bytes read during cache misses, as block sized units.

readBlockMicrosback to summary
pack-priv long readBlockMicros

Total microseconds spent reading readBlock blocks.

readCommitGraphback to summary
pack-priv long readCommitGraph

Total number of complete commit graphs read into memory.

readCommitGraphBytesback to summary
pack-priv long readCommitGraphBytes

Total number of bytes read from commit graphs.

readCommitGraphMicrosback to summary
pack-priv long readCommitGraphMicros

Total microseconds spent creating commit graphs.

readIdxback to summary
pack-priv long readIdx

Total number of complete pack indexes read into memory.

readIdxBytesback to summary
pack-priv long readIdxBytes

Total number of bytes read from pack indexes.

readIdxMicrosback to summary
pack-priv long readIdxMicros

Total microseconds spent reading pack indexes.

readObjectSizeIndexback to summary
pack-priv long readObjectSizeIndex

Total number of object size indexes added into memory.

readObjectSizeIndexBytesback to summary
pack-priv long readObjectSizeIndexBytes

Total numer of bytes read from object size index

readObjectSizeIndexMicrosback to summary
pack-priv long readObjectSizeIndexMicros

Total microseconds spent creating object size indexes

readReverseIdxback to summary
pack-priv long readReverseIdx

Total number of reverse indexes added into memory.

readReverseIdxMicrosback to summary
pack-priv long readReverseIdxMicros

Total microseconds spent creating reverse indexes.

ridxCacheHitback to summary
pack-priv long ridxCacheHit

Total number of cache hits for reverse indexes.

scanPacksback to summary
pack-priv long scanPacks

Number of times the reader explicitly called scanPacks.

Constructor Detail

Accumulatorback to summary
pack-priv Accumulator()