pub struct ExecutionComparison {
pub time_diff_ms: i64,
pub time_diff_pct: f64,
pub memory_diff_bytes: i64,
pub memory_diff_pct: f64,
pub results_diff: i64,
pub cache_hit_diff: f32,
pub improvement: ImprovementLevel,
}Expand description
Comparison between two query executions
Fields§
§time_diff_ms: i64Time difference in milliseconds
time_diff_pct: f64Time difference as percentage
memory_diff_bytes: i64Memory difference in bytes
memory_diff_pct: f64Memory difference as percentage
results_diff: i64Results count difference
cache_hit_diff: f32Cache hit rate difference
improvement: ImprovementLevelOverall improvement level
Trait Implementations§
Source§impl Debug for ExecutionComparison
impl Debug for ExecutionComparison
Auto Trait Implementations§
impl Freeze for ExecutionComparison
impl RefUnwindSafe for ExecutionComparison
impl Send for ExecutionComparison
impl Sync for ExecutionComparison
impl Unpin for ExecutionComparison
impl UnsafeUnpin for ExecutionComparison
impl UnwindSafe for ExecutionComparison
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.