Versions in this module Expand all Collapse all v0 v0.0.54 Sep 22, 2025 v0.0.3 Sep 22, 2025 Changes in this version + const DefaultCacheSize + func CalculatePercentile(latencies []time.Duration, percentile float64) time.Duration + func CreateFile(outputDir string, fileName string) (*os.File, error) + func ListAllFiles(dir string) ([]string, error) + func OpenDB(dir string) (dbm.DB, error) + func PickRandomKVFile(inputKVDir string, processedFiles *sync.Map) string + func RandomShuffle(kvPairs []KeyValuePair) + func ReadTree(db dbm.DB, version int, prefix []byte) (*iavl.MutableTree, error) + func WriteTreeDataToFile(tree *iavl.MutableTree, filenamePattern string, chunkSize int) + type ContractSizeEntry struct + Address string + KeyCount uint64 + TotalSize uint64 + type DynamoDBClient struct + func NewDynamoDBClient(tableName, awsRegion string) (*DynamoDBClient, error) + func (d *DynamoDBClient) ExportMultipleAnalyses(analyses []*StateSizeAnalysis) error + func (d *DynamoDBClient) ExportStateSizeAnalysis(analysis *StateSizeAnalysis) error + func (d *DynamoDBClient) UpdateLatestHeightIfGreater(metadataTable string, height int64) (bool, error) + type KeyValuePair struct + Key []byte + Value []byte + func LoadAndShuffleKV(inputDir string, concurrency int) ([]KeyValuePair, error) + func ReadKVEntriesFromFile(filename string) ([]KeyValuePair, error) + type PrefixSize struct + KeyCount uint64 + KeySize uint64 + TotalSize uint64 + ValueSize uint64 + type StateSizeAnalysis struct + BlockHeight int64 + ContractBreakdown string + ModuleName string + PrefixBreakdown string + TotalKeySize uint64 + TotalNumKeys uint64 + TotalSize uint64 + TotalValueSize uint64