pub struct TraceGoodputStats {
pub completed_requests: usize,
pub request_throughput_rps: f64,
pub output_throughput_tok_s: f64,
}Expand description
Goodput: throughput restricted to the requests that satisfy the SLA. Present
on the report only when an SLA was supplied to the collector (goodput is
undefined without one). A completed request counts as “good” per
SlaThresholds::is_good.
Fields§
§completed_requests: usizeCompleted requests that satisfied the SLA.
request_throughput_rps: f64Good requests per second, over the simulated duration_s.
output_throughput_tok_s: f64Output tokens from good requests per second, over duration_s.
Trait Implementations§
Source§impl Clone for TraceGoodputStats
impl Clone for TraceGoodputStats
Source§fn clone(&self) -> TraceGoodputStats
fn clone(&self) -> TraceGoodputStats
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 moreAuto Trait Implementations§
impl Freeze for TraceGoodputStats
impl RefUnwindSafe for TraceGoodputStats
impl Send for TraceGoodputStats
impl Sync for TraceGoodputStats
impl Unpin for TraceGoodputStats
impl UnsafeUnpin for TraceGoodputStats
impl UnwindSafe for TraceGoodputStats
Blanket Implementations§
impl<T> BlockMetadata for T
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