std
1.85.0-nightly
(bbcf1b0ca 2024-12-21) (Ferrocene by Ferrous Systems)
In std::
prelude::
rust_
2024
std
::
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.