pub struct BenchRunConfig {
pub warmups: u32,
pub samples: u32,
pub repetitions: u32,
}Expand description
Frame-run shape of one bench execution.
Fields§
§warmups: u32Unrecorded frames run before sampling.
samples: u32Recorded frames per measurement.
repetitions: u32Independent measurement repetitions.
Trait Implementations§
Source§impl Clone for BenchRunConfig
impl Clone for BenchRunConfig
Source§fn clone(&self) -> BenchRunConfig
fn clone(&self) -> BenchRunConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BenchRunConfig
Source§impl Debug for BenchRunConfig
impl Debug for BenchRunConfig
Source§impl<'de> Deserialize<'de> for BenchRunConfig
impl<'de> Deserialize<'de> for BenchRunConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BenchRunConfig
Source§impl PartialEq for BenchRunConfig
impl PartialEq for BenchRunConfig
Source§impl Serialize for BenchRunConfig
impl Serialize for BenchRunConfig
impl StructuralPartialEq for BenchRunConfig
Auto Trait Implementations§
impl Freeze for BenchRunConfig
impl RefUnwindSafe for BenchRunConfig
impl Send for BenchRunConfig
impl Sync for BenchRunConfig
impl Unpin for BenchRunConfig
impl UnsafeUnpin for BenchRunConfig
impl UnwindSafe for BenchRunConfig
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