 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var Cmd = &cobra.Command{
	Use:   "checkpoint-collect-stats",
	Short: "collects stats on tries stored in a checkpoint",
	Run:   run,
}
    Functions ¶
This section is empty.
Types ¶
type PayloadStats ¶
type PayloadStats struct {
	TotalPayloadSize      uint64                 `json:"total_payload_size"`
	TotalPayloadValueSize uint64                 `json:"total_payload_value_size"`
	StatsByTypes          []RegisterStatsByTypes `json:"stats_by_types"`
}
    type RegisterStatsByTypes ¶
type RegisterStatsByTypes struct {
	Type                    string  `json:"type"`
	Counts                  uint64  `json:"counts"`
	ValueSizeTotal          float64 `json:"value_size_total"`
	ValueSizeMin            float64 `json:"value_size_min"`
	ValueSize25thPercentile float64 `json:"value_size_25th_percentile"`
	ValueSizeMedian         float64 `json:"value_size_median"`
	ValueSize75thPercentile float64 `json:"value_size_75th_percentile"`
	ValueSize95thPercentile float64 `json:"value_size_95th_percentile"`
	ValueSizeMax            float64 `json:"value_size_max"`
}
    type Stats ¶
type Stats struct {
	LedgerStats  *complete.LedgerStats
	PayloadStats *PayloadStats
}
     Click to show internal directories. 
   Click to hide internal directories.