Expand description
Provides functionality for benchmarking.
Modules§
- binary
- Provides functionality for sourcing binaries of the benchmarking CLI.
Structs§
- Block
Cmd - Benchmark the execution time of historic blocks.
- Genesis
Builder Policy Iter - An iterator over the variants of GenesisBuilderPolicy
- Machine
Cmd - Command to benchmark the hardware.
- Overhead
Cmd - Benchmark the execution overhead per-block and per-extrinsic.
- Storage
Cmd - Benchmark the storage speed of a chain snapshot.
Enums§
- Benchmarking
CliCommand - Commands that can be executed by the
frame-benchmarking-cliCLI. - Genesis
Builder Policy - How the genesis state for benchmarking should be built.
Constants§
- GENESIS_
BUILDER_ DEV_ PRESET - The default
developmentpreset used to communicate with the runtime viaGenesisBuilderinterface.
Functions§
- generate_
binary_ benchmarks - Generates binary benchmarks using
frame-benchmarking-cli. - generate_
omni_ bencher_ benchmarks - Run command for benchmarking with a provided
frame-omni-bencherbinary. - generate_
pallet_ benchmarks - Runs pallet benchmarks using
frame-benchmarking-cli. - get_
runtime_ path - Get the runtime folder path and throws error if it does not exist.
- load_
pallet_ extrinsics - Loads a mapping of pallets and their associated extrinsics from the runtime binary.
Type Aliases§
- Pallet
Extrinsics Registry - Type alias for records where the key is the pallet name and the value is an array of its extrinsics.