pub struct Benchmarking { /* private fields */ }Expand description
The benchmarking context.
Implementations§
Source§impl Benchmarking
impl Benchmarking
Sourcepub fn qbsdiff(&self, s: &[u8], t: &[u8]) -> Result<()>
pub fn qbsdiff(&self, s: &[u8], t: &[u8]) -> Result<()>
Perform qbspatch via internal library calls.
Sourcepub fn qbsdiff_with(
&self,
s: &[u8],
t: &[u8],
opts: QbsdiffOptions,
) -> Result<()>
pub fn qbsdiff_with( &self, s: &[u8], t: &[u8], opts: QbsdiffOptions, ) -> Result<()>
Perform qbsdiff with options.
Sourcepub fn qbspatch(&self, s: &[u8], p: &[u8]) -> Result<()>
pub fn qbspatch(&self, s: &[u8], p: &[u8]) -> Result<()>
Perform qbspatch via internal library calls.
Sourcepub fn qbspatch_with(
&self,
s: &[u8],
p: &[u8],
opts: QbspatchOptions,
) -> Result<()>
pub fn qbspatch_with( &self, s: &[u8], p: &[u8], opts: QbspatchOptions, ) -> Result<()>
Perform qbspatch with options.
Sourcepub fn get_regular_samples(&self) -> Result<Vec<Sample>>
pub fn get_regular_samples(&self) -> Result<Vec<Sample>>
Get regular samples.
Sourcepub fn get_pathological_samples(&self) -> Result<Vec<Sample>>
pub fn get_pathological_samples(&self) -> Result<Vec<Sample>>
Get pathological samples.
Sourcepub fn get_random_samples(&self, descs: &[RandomSample]) -> Result<Vec<Sample>>
pub fn get_random_samples(&self, descs: &[RandomSample]) -> Result<Vec<Sample>>
Prepare random samples if needed and get the sample list.
Auto Trait Implementations§
impl Freeze for Benchmarking
impl RefUnwindSafe for Benchmarking
impl Send for Benchmarking
impl Sync for Benchmarking
impl Unpin for Benchmarking
impl UnwindSafe for Benchmarking
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more