std
1.81.0
(eeb90cda1 2024-09-04)
In std::prelude::v1
Attribute Macro
std
::
prelude
::
v1
::
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.