Package org.eclipse.jgit.storage.pack
Class PackStatistics.Accumulator
java.lang.Object
org.eclipse.jgit.storage.pack.PackStatistics.Accumulator
- Enclosing class:
- PackStatistics
POJO for accumulating the statistics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe count of references in the ref advertisement.longThe count of objects that needed to be discovered through an object walk because they were not found in bitmap indices.The set of shallow commits on the client.intThe count of objects in the pack that went through the delta search process in order to find a potential delta base.intThe count of objects in the pack that went through delta base search and found a suitable base.intIf a shallow pack, the depth in commits.longThe count of client haves.The set of objects to be included in the pack.longThe count of wants that were not advertised by the server.Statistics about each object type in the pack (commits, tags, trees and blobs.)longAmount of packfile uris sent to the client to download via HTTP.longTotal size (in bytes) offloaded to HTTP downloads.longTime in ms spent checking reachability.longThe count of reused deltas in the pack.longThe count of reused objects in the pack.The collection of reused packs in the upload.Commits with no parents.longThe size of the thin pack in bytes, if a thin pack was generated.longTime in ms spent compressing the pack.longTime in ms spent counting the objects that will go into the pack.longTime in ms spent in the negotiation phase.longTime in ms spent searching for objects to reuse.longTime in ms spent searching for sizes of objects.longTime in ms spent writing the pack.longThe count of total bytes in the pack.longThe total count of deltas output.longThe total count of objects in the pack.longNumber of trees traversed in the walk when writing the pack.The set of objects to be excluded from the pack.longThe count of client wants. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
advertised
public long advertisedThe count of references in the ref advertisement.- Since:
- 4.11
-
wants
public long wantsThe count of client wants.- Since:
- 4.11
-
haves
public long havesThe count of client haves.- Since:
- 4.11
-
notAdvertisedWants
public long notAdvertisedWantsThe count of wants that were not advertised by the server.- Since:
- 5.10
-
timeNegotiating
public long timeNegotiatingTime in ms spent in the negotiation phase. For non-bidirectional transports (e.g., HTTP), this is only for the final request that sends back the pack file.- Since:
- 4.11
-
interestingObjects
The set of objects to be included in the pack. -
uninterestingObjects
The set of objects to be excluded from the pack. -
clientShallowCommits
The set of shallow commits on the client. -
reusedPacks
The collection of reused packs in the upload. -
rootCommits
Commits with no parents. -
depth
public int depthIf a shallow pack, the depth in commits. -
deltaSearchNonEdgeObjects
public int deltaSearchNonEdgeObjectsThe count of objects in the pack that went through the delta search process in order to find a potential delta base. -
deltasFound
public int deltasFoundThe count of objects in the pack that went through delta base search and found a suitable base. This is a subset of deltaSearchNonEdgeObjects. -
totalObjects
public long totalObjectsThe total count of objects in the pack. -
bitmapIndexMisses
public long bitmapIndexMissesThe count of objects that needed to be discovered through an object walk because they were not found in bitmap indices. -
totalDeltas
public long totalDeltasThe total count of deltas output. -
reusedObjects
public long reusedObjectsThe count of reused objects in the pack. -
reusedDeltas
public long reusedDeltasThe count of reused deltas in the pack. -
totalBytes
public long totalBytesThe count of total bytes in the pack. -
thinPackBytes
public long thinPackBytesThe size of the thin pack in bytes, if a thin pack was generated. -
timeCounting
public long timeCountingTime in ms spent counting the objects that will go into the pack. -
timeSearchingForReuse
public long timeSearchingForReuseTime in ms spent searching for objects to reuse. -
timeSearchingForSizes
public long timeSearchingForSizesTime in ms spent searching for sizes of objects. -
timeCompressing
public long timeCompressingTime in ms spent compressing the pack. -
timeWriting
public long timeWritingTime in ms spent writing the pack. -
reachabilityCheckDuration
public long reachabilityCheckDurationTime in ms spent checking reachability.- Since:
- 5.10
-
treesTraversed
public long treesTraversedNumber of trees traversed in the walk when writing the pack.- Since:
- 5.4
-
offloadedPackfiles
public long offloadedPackfilesAmount of packfile uris sent to the client to download via HTTP.- Since:
- 5.6
-
offloadedPackfileSize
public long offloadedPackfileSizeTotal size (in bytes) offloaded to HTTP downloads.- Since:
- 5.6
-
objectTypes
Statistics about each object type in the pack (commits, tags, trees and blobs.)
-
-
Constructor Details
-
Accumulator
public Accumulator()
-