On this page
Attribute Macro std::prelude::v1::bench
#[bench]
🔬This is a nightly-only experimental API. (
test
#50297)
Attribute macro applied to a function to turn it into a benchmark test.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/prelude/v1/attr.bench.html