core
1.87.0-nightly
(227690a25 2025-03-16)
In core::
prelude::
v1
Macros
deref
type_ascribe
Attribute Macros
alloc_error_handler
bench
cfg_accessible
cfg_eval
define_opaque
derive
derive_const
global_allocator
test
test_case
core
::
prelude
::
v1
Attribute Macro
bench
Copy item path
Settings
Help
Summary
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.