pub struct LoadTestStats {
pub total_requests: u64,
pub successful: u64,
pub failed: u64,
pub duration: Duration,
pub min_response_time: Duration,
pub max_response_time: Duration,
pub avg_response_time: Duration,
pub median_response_time: Duration,
pub p95_response_time: Duration,
pub p99_response_time: Duration,
pub rps: f64,
}Expand description
Load test statistics
Fields§
§total_requests: u64Total number of requests
successful: u64Successful requests
failed: u64Failed requests
duration: DurationTotal duration
min_response_time: DurationMin response time
max_response_time: DurationMax response time
avg_response_time: DurationAverage response time
median_response_time: DurationMedian response time (p50)
p95_response_time: Duration95th percentile response time
p99_response_time: Duration99th percentile response time
rps: f64Requests per second
Implementations§
Source§impl LoadTestStats
impl LoadTestStats
Trait Implementations§
Source§impl Clone for LoadTestStats
impl Clone for LoadTestStats
Auto Trait Implementations§
impl Freeze for LoadTestStats
impl RefUnwindSafe for LoadTestStats
impl Send for LoadTestStats
impl Sync for LoadTestStats
impl Unpin for LoadTestStats
impl UnsafeUnpin for LoadTestStats
impl UnwindSafe for LoadTestStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<R, D> DepsPresent<D> for R
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging