core
1.84.0-nightly
(3fee0f12e 2024-11-20)
In core::
prelude::
rust_
2024
core
::
prelude
::
rust_2024
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.