std
1.79.0-dev
In std::prelude::v1
Macros
deref
type_ascribe
Attribute Macros
alloc_error_handler
bench
cfg_accessible
cfg_eval
derive
derive_const
global_allocator
test
test_case
?
Settings
Attribute Macro
std
::
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.