[][src]Macro core::bench

pub macro bench($item:item) {
    ...
}
🔬 This is a nightly-only experimental API. (test #50297)

bench is a part of custom test frameworks which are unstable

Attribute macro applied to a function to turn it into a benchmark test.