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
benchmarksbut for instantiable module. - Same as
benchmarksbut for instantiable pallet declaredframe_support::pallet. - Defines pallet configs that
add_benchmarksandlist_benchmarksuse. Should be preferred instead of having a repetitive list of configs inadd_benchmarkandlist_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