pub struct ScenarioStats {
pub name: String,
pub total_decisions: usize,
pub iterations: usize,
pub min_ms: f64,
pub mean_ms: f64,
pub max_ms: f64,
pub p50_ms: f64,
pub p90_ms: f64,
pub p95_ms: f64,
pub p99_ms: f64,
pub throughput_dps: f64,
}Expand description
単一シナリオの計測統計サマリー。
Fields§
§name: Stringシナリオ識別名。
total_decisions: usize評価質問数。
iterations: usize実行反復回数。
min_ms: f64最小レイテンシ (ミリ秒)。
mean_ms: f64平均レイテンシ (ミリ秒)。
max_ms: f64最大レイテンシ (ミリ秒)。
p50_ms: f6450 パーセンタイル (p50) レイテンシ (ミリ秒)。
p90_ms: f6490 パーセンタイル (p90) レイテンシ (ミリ秒)。
p95_ms: f6495 パーセンタイル (p95) レイテンシ (ミリ秒)。
p99_ms: f6499 パーセンタイル (p99) レイテンシ (ミリ秒)。
throughput_dps: f64スループット (decisions / 秒)。
Trait Implementations§
Source§impl Clone for ScenarioStats
impl Clone for ScenarioStats
Source§fn clone(&self) -> ScenarioStats
fn clone(&self) -> ScenarioStats
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 ScenarioStats
impl Debug for ScenarioStats
Source§impl<'de> Deserialize<'de> for ScenarioStats
impl<'de> Deserialize<'de> for ScenarioStats
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 ScenarioStats
impl RefUnwindSafe for ScenarioStats
impl Send for ScenarioStats
impl Sync for ScenarioStats
impl Unpin for ScenarioStats
impl UnsafeUnpin for ScenarioStats
impl UnwindSafe for ScenarioStats
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
Converts
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> ⓘ
Converts
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