[−][src]Trait frame_benchmarking::Benchmark
Runtime api for benchmarking a FRAME runtime.
Provided methods
fn dispatch_benchmark(
&self,
__runtime_api_at_param__: &BlockId<Block>,
module: Vec<u8>,
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Option<Vec<BenchmarkResults>>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
module: Vec<u8>,
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Option<Vec<BenchmarkResults>>, Self::Error>
Dispatch the given benchmark.
fn dispatch_benchmark_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
module: Vec<u8>,
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Option<Vec<BenchmarkResults>>, Self::Error>
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
module: Vec<u8>,
extrinsic: Vec<u8>,
steps: Vec<u32>,
repeat: u32
) -> Result<Option<Vec<BenchmarkResults>>, Self::Error>
Dispatch the given benchmark.