core
1.80.0
(051478957 2024-07-21) (Fedora 1.80.0-2.0.riscv64.fc41)
In core::prelude::v1
Attribute Macro
core
::
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.