pub struct BenchmarkRunner { /* private fields */ }Expand description
Runs a target executable multiple times and aggregates latency statistics.
Implementations§
Source§impl BenchmarkRunner
impl BenchmarkRunner
Sourcepub fn new(opts: BenchmarkOptions) -> Self
pub fn new(opts: BenchmarkOptions) -> Self
Create a new BenchmarkMetrics with the given options.
Trait Implementations§
Source§impl Default for BenchmarkRunner
impl Default for BenchmarkRunner
Source§fn default() -> BenchmarkRunner
fn default() -> BenchmarkRunner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BenchmarkRunner
impl RefUnwindSafe for BenchmarkRunner
impl Send for BenchmarkRunner
impl Sync for BenchmarkRunner
impl Unpin for BenchmarkRunner
impl UnsafeUnpin for BenchmarkRunner
impl UnwindSafe for BenchmarkRunner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more