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 TypeFieldDescriptionlong
The count of references in the ref advertisement.long
The 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.int
The count of objects in the pack that went through the delta search process in order to find a potential delta base.int
The count of objects in the pack that went through delta base search and found a suitable base.int
If a shallow pack, the depth in commits.long
The count of client haves.The set of objects to be included in the pack.long
The count of wants that were not advertised by the server.Statistics about each object type in the pack (commits, tags, trees and blobs.)long
Amount of packfile uris sent to the client to download via HTTP.long
Total size (in bytes) offloaded to HTTP downloads.long
Time in ms spent checking reachability.long
The count of reused deltas in the pack.long
The count of reused objects in the pack.The collection of reused packs in the upload.Commits with no parents.long
The size of the thin pack in bytes, if a thin pack was generated.long
Time in ms spent compressing the pack.long
Time in ms spent counting the objects that will go into the pack.long
Time in ms spent in the negotiation phase.long
Time in ms spent searching for objects to reuse.long
Time in ms spent searching for sizes of objects.long
Time in ms spent writing the pack.long
The count of total bytes in the pack.long
The total count of deltas output.long
The total count of objects in the pack.long
Number of trees traversed in the walk when writing the pack.The set of objects to be excluded from the pack.long
The 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()
-