Expand description
Support code for rustc’s built in unit-test and micro-benchmarking framework.
Almost all user code will only be interested in Bencher and
black_box. All other interactions (such as writing tests and
benchmarks themselves) should be done via the #[test] and
#[bench] attributes.
See the Testing Chapter of the book for more details.
Re-exports§
pub use self::TestFn::*;pub use self::ColorConfig::*;pub use self::TestResult::*;pub use self::TestName::*;
Modules§
Structs§
- Manager of the benchmarking runs.
Enums§
Traits§
- Represents a benchmark function.
Functions§
Type Aliases§
- Result of parsing the options.