#[non_exhaustive]pub struct Summary {
pub setup: Setup,
pub parameters: Range,
pub end_to_end_latencies: Vec<MicroSeconds>,
pub mean_latencies: Vec<f64>,
pub p90_latencies: Vec<MicroSeconds>,
pub p99_latencies: Vec<MicroSeconds>,
pub average_precision: AveragePrecisionMetrics,
}Expand description
An search::Aggregated summary of multiple Range search runs
returned by the provided Aggregator.
This struct is marked as non-exhaustive to allow for future additions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.setup: SetupThe search::Setup used for the batch of runs.
parameters: RangeThe graph::search::Range used for the batch of runs.
end_to_end_latencies: Vec<MicroSeconds>The end-to-end latency for each repetition in the batch.
mean_latencies: Vec<f64>The average latency for individual queries.
This contains one entry per repetition in the batch.
p90_latencies: Vec<MicroSeconds>The 90th percentile latency for individual queries.
This contains one entry per repetition in the batch.
p99_latencies: Vec<MicroSeconds>The 99th percentile latency for individual queries.
This contains one entry per repetition in the batch.
average_precision: AveragePrecisionMetricsThe average precision metrics for the batch of runs.
This implementation assumes that search is deterministic and only uses the first repetition’s results to compute the average precision.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DispatchRule<T> for T
impl<T> DispatchRule<T> for T
Source§type Error = Infallible
type Error = Infallible
convert.Source§fn try_match(_from: &T) -> Result<MatchScore, FailureScore>
fn try_match(_from: &T) -> Result<MatchScore, FailureScore>
Source§fn convert(from: T) -> Result<T, <T as DispatchRule<T>>::Error>
fn convert(from: T) -> Result<T, <T as DispatchRule<T>>::Error>
Source§fn description(f: &mut Formatter<'_>, from: Option<&T>) -> Result<(), Error>
fn description(f: &mut Formatter<'_>, from: Option<&T>) -> Result<(), Error>
Source§fn try_match_verbose<'a>(
from: &'a From,
) -> Result<MatchScore, TaggedFailureScore<'a>>where
Self: 'a,
fn try_match_verbose<'a>(
from: &'a From,
) -> Result<MatchScore, TaggedFailureScore<'a>>where
Self: 'a,
try_match but returns a reason for a failed score. Read more