pub struct TaobenchStandaloneReport {Show 16 fields
pub total_qps: f64,
pub fast_qps: f64,
pub slow_qps: f64,
pub hit_ratio: f64,
pub hit_rate: f64,
pub total_ops: u64,
pub fast_ops: u64,
pub slow_ops: u64,
pub elapsed_secs: f64,
pub nr_client_threads: usize,
pub nr_slow_threads: usize,
pub serve_p50_us: Option<u32>,
pub serve_p99_us: Option<u32>,
pub serve_p999_us: Option<u32>,
pub serve_min_us: Option<u32>,
pub serve_max_us: Option<u32>,
}Expand description
Host-side standalone runner + its report, backing the ktstr-taobench-validate
validation driver (the analog of schbench’s run_standalone).
Summary of a run_standalone run — the headline taobench metrics in the
shape the reference taobench server reports (fast_qps / hit_rate /
slow_qps) plus the derived total_qps (= fast + slow) and hit_ratio
(= fast / total). Under open-loop arrival (arrival_rate > 0) it also carries
the coordinated-omission serve-latency percentiles; these are None in closed
loop (no intended-arrival schedule, so no serve latency is measured).
Fields§
§total_qps: f64(fast + slow) ops per second over the measured window.
fast_qps: f64Hits served per second.
slow_qps: f64Misses served (slow path) per second.
hit_ratio: f64Response-time hit ratio: fast / (fast + slow).
hit_rate: f64Command-time hit rate: 1 - get_misses / get_cmds.
total_ops: u64Completed ops (fast + slow).
fast_ops: u64Hits served.
slow_ops: u64Misses served via the slow path.
elapsed_secs: f64The engine-measured client window, seconds.
nr_client_threads: usizeResolved client thread count.
nr_slow_threads: usizeResolved slow dispatcher count.
serve_p50_us: Option<u32>Open-loop coordinated-omission serve-latency percentiles (µs), measured
from intended arrival. None in closed loop / when no serve samples were
recorded (matching the metric-key ABSENT discipline).
serve_p99_us: Option<u32>Open-loop serve-latency p99 (µs) — the headline coordinated-omission tail.
serve_p999_us: Option<u32>Open-loop serve-latency p99.9 (µs).
serve_min_us: Option<u32>Open-loop serve-latency minimum sample (µs).
serve_max_us: Option<u32>Open-loop serve-latency maximum sample (µs).
Trait Implementations§
Source§impl Clone for TaobenchStandaloneReport
impl Clone for TaobenchStandaloneReport
Source§fn clone(&self) -> TaobenchStandaloneReport
fn clone(&self) -> TaobenchStandaloneReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TaobenchStandaloneReport
impl Debug for TaobenchStandaloneReport
Source§impl PartialEq for TaobenchStandaloneReport
impl PartialEq for TaobenchStandaloneReport
impl Copy for TaobenchStandaloneReport
impl StructuralPartialEq for TaobenchStandaloneReport
Auto Trait Implementations§
impl Freeze for TaobenchStandaloneReport
impl RefUnwindSafe for TaobenchStandaloneReport
impl Send for TaobenchStandaloneReport
impl Sync for TaobenchStandaloneReport
impl Unpin for TaobenchStandaloneReport
impl UnwindSafe for TaobenchStandaloneReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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