pub struct ProviderBenchmarkReport {Show 14 fields
pub schema_version: u32,
pub label: String,
pub measured_runs: usize,
pub concurrency: usize,
pub environment: BTreeMap<String, String>,
pub successes: usize,
pub failures: usize,
pub success_rate: f64,
pub wall_time_us: u64,
pub throughput_per_second: f64,
pub total_latency: Option<LatencyDistribution>,
pub ttft: Option<LatencyDistribution>,
pub successes_without_output: usize,
pub failure_counts: Vec<BenchmarkFailureCount>,
}Expand description
Stable, serialization-safe benchmark evidence.
Fields§
§schema_version: u32Report schema version.
label: StringUser-controlled implementation or framework label.
measured_runs: usizeNumber of measured invocations.
concurrency: usizeMaximum configured concurrency.
environment: BTreeMap<String, String>Stable environment facts required to reproduce the run.
successes: usizeSuccessful invocation count.
failures: usizeFailed invocation count.
success_rate: f64Successful invocations divided by measured invocations.
wall_time_us: u64Complete measured wall-clock interval.
throughput_per_second: f64Measured invocations completed per second.
total_latency: Option<LatencyDistribution>Successful invocation latency distribution.
ttft: Option<LatencyDistribution>Successful time-to-first-output distribution.
successes_without_output: usizeSuccessful invocations which completed without visible output.
failure_counts: Vec<BenchmarkFailureCount>Deterministically ordered normalized failure counts.
Trait Implementations§
Source§impl Clone for ProviderBenchmarkReport
impl Clone for ProviderBenchmarkReport
Source§fn clone(&self) -> ProviderBenchmarkReport
fn clone(&self) -> ProviderBenchmarkReport
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 ProviderBenchmarkReport
impl Debug for ProviderBenchmarkReport
Source§impl<'de> Deserialize<'de> for ProviderBenchmarkReport
impl<'de> Deserialize<'de> for ProviderBenchmarkReport
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 ProviderBenchmarkReport
impl PartialEq for ProviderBenchmarkReport
Source§impl Serialize for ProviderBenchmarkReport
impl Serialize for ProviderBenchmarkReport
impl StructuralPartialEq for ProviderBenchmarkReport
Auto Trait Implementations§
impl Freeze for ProviderBenchmarkReport
impl RefUnwindSafe for ProviderBenchmarkReport
impl Send for ProviderBenchmarkReport
impl Sync for ProviderBenchmarkReport
impl Unpin for ProviderBenchmarkReport
impl UnsafeUnpin for ProviderBenchmarkReport
impl UnwindSafe for ProviderBenchmarkReport
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