checkpoint_collect_stats

package
v0.29.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: AGPL-3.0 Imports: 20 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL