pub struct WarmupConfig {Show 14 fields
pub warmup_enabled: bool,
pub warmup_time_budget_ms: u64,
pub warmup_parallelism_cap: usize,
pub warmup_topk_refs: usize,
pub warmup_topk_criteria_sets: usize,
pub min_flat_cells: usize,
pub min_mask_cells: usize,
pub min_index_rows: usize,
pub flat_reuse_threshold: usize,
pub mask_reuse_threshold: usize,
pub index_reuse_threshold: usize,
pub flat_cache_mb_cap: usize,
pub mask_cache_entries_cap: usize,
pub index_memory_budget_mb: usize,
}Expand description
Configuration for global pass warmup
Fields§
§warmup_enabled: bool§warmup_time_budget_ms: u64§warmup_parallelism_cap: usize§warmup_topk_refs: usize§warmup_topk_criteria_sets: usize§min_flat_cells: usize§min_mask_cells: usize§min_index_rows: usize§flat_reuse_threshold: usize§mask_reuse_threshold: usize§index_reuse_threshold: usize§flat_cache_mb_cap: usize§mask_cache_entries_cap: usize§index_memory_budget_mb: usizeImplementations§
Source§impl WarmupConfig
impl WarmupConfig
Sourcepub fn should_warmup_flats(&self) -> bool
pub fn should_warmup_flats(&self) -> bool
Check if flat warmup should be performed
Sourcepub fn should_warmup_masks(&self) -> bool
pub fn should_warmup_masks(&self) -> bool
Check if mask warmup should be performed
Sourcepub fn should_warmup_indexes(&self) -> bool
pub fn should_warmup_indexes(&self) -> bool
Check if index warmup should be performed
Trait Implementations§
Source§impl Clone for WarmupConfig
impl Clone for WarmupConfig
Source§fn clone(&self) -> WarmupConfig
fn clone(&self) -> WarmupConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 WarmupConfig
impl Debug for WarmupConfig
Auto Trait Implementations§
impl Freeze for WarmupConfig
impl RefUnwindSafe for WarmupConfig
impl Send for WarmupConfig
impl Sync for WarmupConfig
impl Unpin for WarmupConfig
impl UnwindSafe for WarmupConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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