public class SerializationMeasures extends Object
Modifier and Type | Class and Description |
---|---|
class |
SerializationMeasures.AllStatDetails
each instance of this class remembers a set of statDetail instances to do bulk operations
against that set of the statistics
|
static class |
SerializationMeasures.StatDetail
Statistical details
There's instances of this class for
- the main heap
- the aux heaps
- the string offsets, the string lengths
Heap: xxxx [name-of-delta: [Total: <TotalBytes>(negative%) Histo: a(neg%) b(neg%) c(neg%) d(neg%) e(neg%)]]
2 styles: one uses only one counter, no delta - used for byte, short, and long heaps
other is for main heap, uses 4 deltas.
|
Modifier and Type | Field and Description |
---|---|
SerializationMeasures.AllStatDetails |
allSlots |
int |
header |
long |
mainHeapFSs |
static int |
MAX_NBR_ENCODE_LENGTH |
long |
origAuxByteArrayRefs |
long |
origAuxBytes |
long |
origAuxLongArrayRefs |
long |
origAuxLongs |
long |
origAuxShortArrayRefs |
long |
origAuxShorts |
SerializationMeasures.StatDetail[] |
statDetails |
long |
stringsCommonChars |
int |
stringsNbrCommon |
long |
stringsSavedExact |
long |
stringsSavedSubstr |
SerializationMeasures.AllStatDetails |
strSlots |
long |
totalTime |
Constructor and Description |
---|
SerializationMeasures() |
Modifier and Type | Method and Description |
---|---|
void |
accum(SerializationMeasures o)
accumulate results for multiple files
|
String |
toString() |
public static final int MAX_NBR_ENCODE_LENGTH
public int header
public long origAuxByteArrayRefs
public long origAuxShortArrayRefs
public long origAuxLongArrayRefs
public long origAuxBytes
public long origAuxShorts
public long origAuxLongs
public long mainHeapFSs
public int stringsNbrCommon
public long stringsCommonChars
public long stringsSavedExact
public long stringsSavedSubstr
public long totalTime
public final SerializationMeasures.StatDetail[] statDetails
public final SerializationMeasures.AllStatDetails allSlots
public final SerializationMeasures.AllStatDetails strSlots
public void accum(SerializationMeasures o)
o
- -Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.