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 declaredframe_support::pallet
. - Defines pallet configs that
add_benchmarks
andlist_benchmarks
use. Should be preferred instead of having a repetitive list of configs inadd_benchmark
andlist_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