pub struct ProfileMetrics {
pub total_elapsed_ns: u64,
pub total_rows: u64,
pub mutated: bool,
pub per_operator: BTreeMap<usize, OperatorMetrics>,
}Expand description
Coarse-grained per-query runtime metrics. v1 reports totals, not per-operator timings; per-operator instrumentation is reserved for a future phase that will not change the public surface.
Fields§
§total_elapsed_ns: u64Wall-clock time spent inside the executor for this query.
total_rows: u64Number of rows produced before result-format projection.
mutated: boolWhether at least one mutating operator ran.
per_operator: BTreeMap<usize, OperatorMetrics>Reserved for future operator-level metrics. Present today as an empty map so consumers can pattern-match on the field without breaking when v2 starts populating it.
Trait Implementations§
Source§impl Clone for ProfileMetrics
impl Clone for ProfileMetrics
Source§impl Debug for ProfileMetrics
impl Debug for ProfileMetrics
Source§impl Default for ProfileMetrics
impl Default for ProfileMetrics
impl Eq for ProfileMetrics
Source§impl PartialEq for ProfileMetrics
impl PartialEq for ProfileMetrics
impl StructuralPartialEq for ProfileMetrics
Auto Trait Implementations§
impl Freeze for ProfileMetrics
impl RefUnwindSafe for ProfileMetrics
impl Send for ProfileMetrics
impl Sync for ProfileMetrics
impl Unpin for ProfileMetrics
impl UnsafeUnpin for ProfileMetrics
impl UnwindSafe for ProfileMetrics
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more