Attribute Macro frame_support_procedural::block

source ·
#[block]
Expand description

An attribute macro used to specify that a block should be the measured portion of the enclosing benchmark function, This attribute is also used as a boundary designating where the benchmark setup code ends, and the benchmark verification code begins.

See frame_benchmarking::v2 for more info.