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§
Enums§
- Parsed
File - Path
Stripping - 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.