std
1.84.1
(e71f9a9a9 2025-01-27) (Red Hat 1.84.1-1.el9)
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.