pub struct QueueCalibration {
pub batch_size: u64,
pub batch_time_ms: f64,
pub request_time_ms: f64,
}Expand description
Measured service times for a representative, bounded workload on one efficient worker.
Fields§
§batch_size: u64Number of background requests served per measured batch.
batch_time_ms: f64Duration of a background batch, measured under the expected contention.
request_time_ms: f64Duration of the foreground request without a background queue.
Trait Implementations§
Source§impl Clone for QueueCalibration
impl Clone for QueueCalibration
Source§fn clone(&self) -> QueueCalibration
fn clone(&self) -> QueueCalibration
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 QueueCalibration
impl Debug for QueueCalibration
Source§impl<'de> Deserialize<'de> for QueueCalibration
impl<'de> Deserialize<'de> for QueueCalibration
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
Auto Trait Implementations§
impl Freeze for QueueCalibration
impl RefUnwindSafe for QueueCalibration
impl Send for QueueCalibration
impl Sync for QueueCalibration
impl Unpin for QueueCalibration
impl UnsafeUnpin for QueueCalibration
impl UnwindSafe for QueueCalibration
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