std
1.84.0-nightly
(79cfbf8b3 2024-11-22) (Ferrocene by Ferrous Systems)
In std::
prelude::
v1
std
::
prelude
::
v1
Attribute Macro
bench
Copy item path
Source
#[bench]
🔬
This is a nightly-only experimental API. (
test
#50297
)
Expand description
Attribute macro applied to a function to turn it into a benchmark test.