pub struct Measurement {
pub sent: u64,
pub consumed: u64,
pub duplicates: u64,
pub errors: u64,
pub seconds: f64,
pub records_per_second: f64,
pub mib_per_second: f64,
pub latency_ms_p50: f64,
pub latency_ms_p95: f64,
pub latency_ms_p99: f64,
pub cpu_seconds: f64,
pub peak_rss_bytes: u64,
}Expand description
What one completed workload measured.
Fields§
§sent: u64Records the producer saw acknowledged.
consumed: u64Distinct records the consumer read back.
duplicates: u64Records the consumer read more than once.
errors: u64Producer send failures.
seconds: f64Wall time from the first send to the last record consumed.
records_per_second: f64Consumed records per second over that wall time.
mib_per_second: f64Consumed payload MiB per second over that wall time.
latency_ms_p50: f64Median end-to-end latency.
latency_ms_p95: f6495th percentile end-to-end latency.
latency_ms_p99: f6499th percentile end-to-end latency.
cpu_seconds: f64Broker CPU seconds over the trial, summed over every broker.
peak_rss_bytes: u64Peak resident set size, summed over every broker, in bytes.
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
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 Measurement
impl Debug for Measurement
Source§impl<'de> Deserialize<'de> for Measurement
impl<'de> Deserialize<'de> for Measurement
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
Source§impl PartialEq for Measurement
impl PartialEq for Measurement
Source§impl Serialize for Measurement
impl Serialize for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations§
impl Freeze for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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