pub struct BenchResult {Show 18 fields
pub label: String,
pub model_path: String,
pub quantization: String,
pub model: ModelMeta,
pub gpu: BenchGpuMeta,
pub prompt_tokens: u64,
pub output_tokens: u64,
pub cold_ttft_ms: f64,
pub cold_total_ms: f64,
pub warm_ttft_ms: f64,
pub warm_total_ms: f64,
pub load_ms: f64,
pub prefill_ms: f64,
pub prefill_tok_s: f64,
pub decode_ms: f64,
pub decode_tok_s: f64,
pub gpu_timestamp_supported: bool,
pub note: String,
}Expand description
A single benchmark row — JSON/CSV serializable.
Fields§
§label: String§model_path: String§quantization: String§model: ModelMeta§gpu: BenchGpuMeta§prompt_tokens: u64§output_tokens: u64§cold_ttft_ms: f64§cold_total_ms: f64§warm_ttft_ms: f64§warm_total_ms: f64§load_ms: f64§prefill_ms: f64§prefill_tok_s: f64§decode_ms: f64§decode_tok_s: f64§gpu_timestamp_supported: boolWhether GPU timestamp-query kernel isolation contributed to these numbers.
false for A0.1 (wall-clock); set when A0.2 lands.
note: StringTrait Implementations§
Source§impl Clone for BenchResult
impl Clone for BenchResult
Source§fn clone(&self) -> BenchResult
fn clone(&self) -> BenchResult
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 BenchResult
impl Debug for BenchResult
Source§impl From<&BenchResult> for BenchResultSerde
impl From<&BenchResult> for BenchResultSerde
Source§fn from(r: &BenchResult) -> Self
fn from(r: &BenchResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BenchResult
impl RefUnwindSafe for BenchResult
impl Send for BenchResult
impl Sync for BenchResult
impl Unpin for BenchResult
impl UnsafeUnpin for BenchResult
impl UnwindSafe for BenchResult
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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