Module parse

Module parse 

Source
Expand description

Parses weight files of Substrate chains.

The following categories are supported:

  • Extrinsic weights (often pallet_name.rs)
  • Database weights (often rocksdb_weights.rs or paritydb_weights.rs)
  • Extrinsic Base weight (often extrinsic_weight.rs)
  • Block Execution weight (often block_weight.rs)

Each module corresponds to one of these categories.

Modules§

overhead
pallet
storage

Enums§

ParsedFile
PathStripping
Defines how a path is transformed into a pallet name.

Functions§

read_file
try_parse_file
Tries to guess the type of weight file and parses it.