Attribute Macro frame_support_procedural::benchmark

source ·
#[benchmark]
Expand description

An attribute macro used to declare a benchmark within a benchmarking module. Must be attached to a function definition containing an #[extrinsic_call] or #[block] attribute.

See frame_benchmarking::v2 for more info.