pub macro bench($item:item) { ... }
🔬This is a nightly-only experimental API. (
test
)Available on non-crate feature
miri-test-libstd
only.Expand description
Attribute macro applied to a function to turn it into a benchmark test.