Module frame_benchmarking::v1 
source · Expand description
Macros for benchmarking a FRAME runtime.
Re-exports
pub use super::*;Macros
This macro adds pallet benchmarks to a 
Vec<BenchmarkBatch> object.Construct pallet benchmarks for weighing dispatchables.
Same as 
benchmarks but for instantiable module.Same as 
benchmarks but for instantiable pallet declared frame_support::pallet.Callback for 
define_benchmarks to call add_benchmark.Callback for 
define_benchmarks to call list_benchmark.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.This creates a test suite which runs the module’s benchmarks.
This macro allows users to easily generate a list of benchmarks for the pallets configured
in the runtime.
Whitelist the given account.
Functions
show error message and debugging info for the case of an error happening
during a benchmark