Registry / other / frame-benchmarking

frame-benchmarking

JSON →
library47.0.0rscratesunverified

Macro for benchmarking a FRAME runtime.

# Cargo.toml [dependencies] frame-benchmarking = "47.0.0"
INSTALL
IMPORT
SIG · FRAME-BENCHMARKING
F
frame-benchmarking
otherrustv47.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

benchmarks
use frame_benchmarking::benchmarks;

Defines benchmarks for a FRAME runtime module.

use frame_benchmarking::benchmarks; benchmarks! { where_clause { where T: frame_system::Config } benchmark_on_module! {} }
Debug
Known issues
gotchaRequires Substrate/Polkadot SDK and specific runtime configuration.
fix
Ensure you have a proper FRAME runtime setup with frame_support.
affects: >=47.0.0
Upgrade
Version history
47.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
frame-benchmarking — cargo add frame-benchmarking · libregistry