pub struct SubMsBenchParams {
pub entries: usize,
pub warmup: usize,
pub seed: u64,
pub sample_cap: usize,
}Expand description
Workload params. Each recipe interprets entries in its own units (bloom inserts,
LSM keys, etc).
Fields§
§entries: usizeWork items per stage.
warmup: usizePre-timed warm-up iterations.
seed: u64Deterministic RNG seed.
sample_cap: usizeMax points kept in each stage’s emitted samples_ns timeline
(evenly-spaced downsample of the full entries measurements).
Default 500; raise it (e.g. 5000) when downstream tooling recomputes
percentiles from the stored timeline and needs a denser sample.
Implementations§
Trait Implementations§
Source§impl Clone for SubMsBenchParams
impl Clone for SubMsBenchParams
Source§fn clone(&self) -> SubMsBenchParams
fn clone(&self) -> SubMsBenchParams
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 SubMsBenchParams
impl Debug for SubMsBenchParams
Auto Trait Implementations§
impl Freeze for SubMsBenchParams
impl RefUnwindSafe for SubMsBenchParams
impl Send for SubMsBenchParams
impl Sync for SubMsBenchParams
impl Unpin for SubMsBenchParams
impl UnsafeUnpin for SubMsBenchParams
impl UnwindSafe for SubMsBenchParams
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