Module polkadot_sdk_frame::benchmarking
source · Expand description
Prelude to be included in the benchmarking.rs
of a pallet.
It supports both the benchmarking::v1::benchmarks
and benchmarking::v2::benchmark
syntax.
use polkadot_sdk_frame::benchmarking::prelude::*;
// rest of your code.
It already includes polkadot_sdk_frame::prelude::*
and polkadot_sdk_frame::testing_prelude
.
Modules§
- v1Deprecated