Crate orml_benchmarking[−][src]
Macro for benchmarking a Substrate runtime. A fork of frame-benchmarking
pallet.
Re-exports
pub use frame_support; |
pub use paste; |
Modules
benchmarking | Interface that provides functions for benchmarking the runtime. |
Macros
add_benchmark | This macro adds pallet benchmarks to a |
runtime_benchmarks | Construct pallet benchmarks for weighing dispatchables. |
runtime_benchmarks_instance | Same as [ |
Structs
Analysis | |
BenchmarkBatch | The results of a single of benchmark. |
BenchmarkConfig | Configuration used to setup and run runtime benchmarks. |
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. |
TrackedStorageKey | Storage key with read/write tracking information. |
Enums
BenchmarkParameter | An alphabet of possible parameters to use for benchmarking. |
BenchmarkSelector |
Traits
Benchmarking | The pallet benchmarking trait. |
BenchmarkingSetup | The required setup for creating a benchmark. |
Zero | Defines an additive identity element for |
Functions
whitelisted_caller | This caller account is automatically whitelisted for DB reads/writes by the benchmarking macro. |