[][src]Crate orml_benchmarking

Macro for benchmarking a Substrate runtime. A fork of frame-benchmarking pallet.

Re-exports

pub use paste;

Modules

benchmarking

Interface that provides functions for benchmarking the runtime.

Macros

add_benchmark

This macro adds pallet benchmarks to a Vec<BenchmarkBatch> object.

benchmark_backend
benchmarks_iter
impl_benchmark
impl_benchmark_tests
runtime_benchmarks

Construct pallet benchmarks for weighing dispatchables.

runtime_benchmarks_instance
selected_benchmark

Creates a SelectedBenchmark enum implementing BenchmarkingSetup.

Structs

Analysis
BenchmarkBatch

The results of a single of benchmark.

Enums

BenchmarkParameter

An alphabet of possible parameters to use for benchmarking.

Traits

Benchmarking

The pallet benchmarking trait.

BenchmarkingSetup

The required setup for creating a benchmark.

Dispatchable

A lazy call (module function and argument values) that can be executed via its dispatch method.

One

Defines a multiplicative identity element for Self.

Zero

Defines an additive identity element for Self.

Type Definitions

BenchmarkResults

Results from running benchmarks on a FRAME pallet. Contains duration of the function call in nanoseconds along with the benchmark parameters used for that benchmark result.