core
1.83.0-beta.2
(88c1c3c11 2024-10-18)
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.