Expand description

Macro for benchmarking a FRAME runtime.

Re-exports

pub use frame_support;
pub use paste;

Modules

Interface that provides functions for benchmarking the runtime.

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 declared frame_support::pallet.

This creates a test suite which runs the module’s benchmarks.

Structs

The results of a single of benchmark.

Configuration used to setup and run runtime benchmarks.

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.

A fitted regression model.

Storage key with read/write tracking information.

Enums

An alphabet of possible parameters to use for benchmarking.

Traits

Runtime api for benchmarking a FRAME runtime.

The pallet benchmarking trait.

The required setup for creating a benchmark.

Defines an additive identity element for Self.

Functions

Grab an account, seeded by a name and index.

show error message and debugging info for the case of an error happening during a benchmark

This caller account is automatically whitelisted for DB reads/writes by the benchmarking macro.