//! Benchmarking module.
+pub use std::hint::black_box;
+
use super::{
event::CompletedTest,
helpers::sink::Sink,
use std::io;
use std::panic::{catch_unwind, AssertUnwindSafe};
use std::sync::{Arc, Mutex};
-use std::hint::black_box;
/// Manager of the benchmarking runs.
///
pub use self::types::*;
pub use self::types::TestName::*;
pub use self::options::{Options, ShouldPanic};
+pub use self::bench::{Bencher, black_box};
// Module to be used by rustc to compile tests in libtest
pub mod test {
};
pub mod stats;
+pub mod bench;
mod formatters;
mod cli;
mod console;
mod time;
mod types;
mod options;
-mod bench;
mod test_result;
#[cfg(test)]