std
1.84.1
(e71f9a9a9 2025-01-27)
In std::
prelude::
rust_
2024
Macros
deref
type_ascribe
Attribute Macros
alloc_error_handler
bench
cfg_accessible
cfg_eval
derive
derive_const
global_allocator
test
test_case
std
::
prelude
::
rust_2024
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.