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::Term
s. - term
- Contains the
Term
which is used to express weight equations. - testing
- traits
Macros§
- add
- Builds a
Term::Add
from twoTerm
s. - cadd
- Builds a
Term::Add
from twoTerm
s. - cmul
- Builds a
Term::Mul
from twoTerm
s. - creads
- Multiplies a
Term
with thecrate::scope::STORAGE_READ_VAR
constant. - cval
- cvar
- Builds a
Term::Var
from aString
. - cwrites
- Multiplies a
Term
with thecrate::scope::STORAGE_WRITE_VAR
constant. - mul
- Builds a
Term::Mul
from twoTerm
s. - reads
- Multiplies a
Term
with thecrate::scope::STORAGE_READ_VAR
constant. - scalar
- Builds a
Term::Value
from au128
. - val
- Builds a
Term::Value
from au128
. - var
- Builds a
Term::Var
from aString
. - writes
- Multiplies a
Term
with thecrate::scope::STORAGE_WRITE_VAR
constant.
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