[−][src]Trait frame_benchmarking::Benchmarking
The pallet benchmarking trait.
Required methods
fn run_benchmark(
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Vec<T>, &'static str>
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Vec<T>, &'static str>
Run the benchmarks for this pallet.
Parameters
extrinsic
: The name of extrinsic function you want to benchmark encoded as bytes.steps
: The number of sample points you want to take across the range of parameters.repeat
: The number of times you want to repeat a benchmark.