core
1.87.0
(17067e9ac 2025-05-09) (Red Hat 1.87.0-1.el10.alma.1)
In core::
prelude::
v1
core
::
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.