Defines pallet configs that add_benchmarks and list_benchmarks use.
Should be preferred instead of having a repetitive list of configs
in add_benchmark and list_benchmark.
Result from running benchmarks on a FRAME pallet.
Contains duration of the function call in nanoseconds along with the benchmark parameters
used for that benchmark result.
Used by the new benchmarking code to specify that a benchmarking variable is linear
over some specified range, i.e. Linear<0, 1_000> means that the corresponding variable
is allowed to range from 0 to 1000, inclusive.
Trait that must be implemented by all structs that can be used as parameter range types
in the new benchmarking code (i.e. Linear<0, 1_000>). Right now there is just
Linear but this could later be extended to support additional non-linear parameter
ranges.
An attribute macro used to declare a benchmark within a benchmarking module. Must be
attached to a function definition containing an #[extrinsic_call] or #[block]
attribute.
An attribute macro used to specify that a block should be the measured portion of the
enclosing benchmark function, This attribute is also used as a boundary designating where
the benchmark setup code ends, and the benchmark verification code begins.
An attribute macro used to specify the extrinsic call inside a benchmark function, and also
used as a boundary designating where the benchmark setup code ends, and the benchmark
verification code begins.