☰
In core::prelude::v1
?
Attribute Macro
core
::
prelude
::
v1
::
bench
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.
This documentation is an old archive. Please see
https://rust.docs.kernel.org
instead.