Expand description
Parse and compare weight Substrate weight files.
Modules§
- parse
- Parses weight files of Substrate chains.
- scope
- Provides a scope for evaluating
crate::term::Terms. - term
- Contains the
Termwhich is used to express weight equations. - testing
- traits
Macros§
- add
- Builds a
Term::Addfrom twoTerms. - cadd
- Builds a
Term::Addfrom twoTerms. - cmul
- Builds a
Term::Mulfrom twoTerms. - creads
- Multiplies a
Termwith thecrate::scope::STORAGE_READ_VARconstant. - cval
- cvar
- Builds a
Term::Varfrom aString. - cwrites
- Multiplies a
Termwith thecrate::scope::STORAGE_WRITE_VARconstant. - mul
- Builds a
Term::Mulfrom twoTerms. - reads
- Multiplies a
Termwith thecrate::scope::STORAGE_READ_VARconstant. - scalar
- Builds a
Term::Valuefrom au128. - val
- Builds a
Term::Valuefrom au128. - var
- Builds a
Term::Varfrom aString. - writes
- Multiplies a
Termwith thecrate::scope::STORAGE_WRITE_VARconstant.
Structs§
- Compare
Params - Parameters for modifying the benchmark behaviour.
- Component
Instance Strategy - Extrinsic
Diff - Filter
Params - Term
Change - VERSION
- Version of the library. Example:
swc 0.2.0+78a04b2. - VERSION_
DIRTY
Enums§
Constants§
Functions§
- compare_
commits - compare_
extrinsics - compare_
files - compare_
terms - filter_
changes - git_
checkout - git_
pull - git_
reset - percent
- sanity_
check_ term - Checks some obvious stuff:
- sort_
changes