pub struct BenchmarkConfig {
pub iterations: usize,
pub warmup_iterations: usize,
pub enable_parallelization: bool,
pub enable_memory_pooling: bool,
pub patterns: Vec<QueryPattern>,
}Expand description
Benchmark configuration
Fields§
§iterations: usize§warmup_iterations: usize§enable_parallelization: bool§enable_memory_pooling: bool§patterns: Vec<QueryPattern>Implementations§
Source§impl BenchmarkConfig
impl BenchmarkConfig
pub fn new() -> Self
pub fn with_iterations(self, iter: usize) -> Self
pub fn with_warmup(self, warmup: usize) -> Self
Trait Implementations§
Source§impl Clone for BenchmarkConfig
impl Clone for BenchmarkConfig
Source§fn clone(&self) -> BenchmarkConfig
fn clone(&self) -> BenchmarkConfig
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 moreSource§impl Debug for BenchmarkConfig
impl Debug for BenchmarkConfig
Auto Trait Implementations§
impl Freeze for BenchmarkConfig
impl RefUnwindSafe for BenchmarkConfig
impl Send for BenchmarkConfig
impl Sync for BenchmarkConfig
impl Unpin for BenchmarkConfig
impl UnsafeUnpin for BenchmarkConfig
impl UnwindSafe for BenchmarkConfig
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