Skip to main content

BenchReport

Struct BenchReport 

Source
pub struct BenchReport {
Show 35 fields pub model: String, pub backend: String, pub scenario: Scenario, pub concurrency: Option<u32>, pub request_rate: Option<f64>, pub n_prompt: u32, pub n_gen: u32, pub actual_input_tokens: Option<TokenLengthStats>, pub actual_input_tokens_per_request: Option<Vec<Vec<u32>>>, pub output_token_count_source: Option<String>, pub n_repeats: u32, pub n_requests_per_run: u32, pub warmup_requests: u32, pub ttft_ms: MetricSet, pub tpot_ms: MetricSet, pub itl_ms: MetricSet, pub e2e_ms: MetricSet, pub output_throughput_tps: ScalarStats, pub total_throughput_tps: ScalarStats, pub request_throughput_rps: ScalarStats, pub goodput_rps: ScalarStats, pub slo: Slo, pub completed_per_run: Vec<u32>, pub errored_per_run: Vec<u32>, pub bad_output_per_run: Vec<u32>, pub malformed_stream_per_run: Vec<u32>, pub missing_done_per_run: Vec<u32>, pub duplicate_done_per_run: Vec<u32>, pub zero_output_tokens_per_run: Vec<u32>, pub stream_bulk_flush_per_run: Vec<u32>, pub http_500_per_run: Vec<u32>, pub panic_per_run: Vec<u32>, pub quality_issues_per_run: Vec<QualityIssueCounts>, pub env: Env, pub env_hash: EnvHash,
}
Expand description

One bench cell — n_repeats independent runs aggregated.

Field order matters for env_hash determinism — do not reorder.

Fields§

§model: String§backend: String§scenario: Scenario§concurrency: Option<u32>

Set iff scenario is ClosedLoop (or SharedPrefix closed variant).

§request_rate: Option<f64>

Set iff scenario is OpenLoop (or SharedPrefix open variant).

§n_prompt: u32§n_gen: u32§actual_input_tokens: Option<TokenLengthStats>§actual_input_tokens_per_request: Option<Vec<Vec<u32>>>§output_token_count_source: Option<String>§n_repeats: u32§n_requests_per_run: u32§warmup_requests: u32§ttft_ms: MetricSet§tpot_ms: MetricSet§itl_ms: MetricSet§e2e_ms: MetricSet§output_throughput_tps: ScalarStats§total_throughput_tps: ScalarStats§request_throughput_rps: ScalarStats§goodput_rps: ScalarStats§slo: Slo§completed_per_run: Vec<u32>§errored_per_run: Vec<u32>§bad_output_per_run: Vec<u32>§malformed_stream_per_run: Vec<u32>§missing_done_per_run: Vec<u32>§duplicate_done_per_run: Vec<u32>§zero_output_tokens_per_run: Vec<u32>§stream_bulk_flush_per_run: Vec<u32>§http_500_per_run: Vec<u32>§panic_per_run: Vec<u32>§quality_issues_per_run: Vec<QualityIssueCounts>§env: Env§env_hash: EnvHash

Trait Implementations§

Source§

impl Clone for BenchReport

Source§

fn clone(&self) -> BenchReport

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BenchReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for BenchReport

Source§

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 Serialize for BenchReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V