Skip to main content

ExecutionStats

Struct ExecutionStats 

Source
#[non_exhaustive]
pub struct ExecutionStats {
Show 14 fields pub total_duration_us: u64, pub strata: Vec<StratumStats>, pub peak_memory_bytes: u64, pub memory_budget_bytes: u64, pub total_output_rows: u64, pub wcoj_triangle_dispatch_count: u64, pub wcoj_4cycle_dispatch_count: u64, pub wcoj_groupby_fusion_dispatch_count: u64, pub free_join_dispatch_count: u64, pub factorized_delta_dispatch_count: u64, pub chain_fallback_scan_equivalents: u64, pub chain_fallback_filter_equivalents: u64, pub wcoj_error_decline_count: u64, pub resident_graph: Option<ResidentGraphExecutionStats>,
}
Expand description

Final execution statistics returned to CLI

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§total_duration_us: u64

Total execution duration in microseconds

§strata: Vec<StratumStats>

Per-stratum statistics

§peak_memory_bytes: u64

Peak memory usage in bytes

§memory_budget_bytes: u64

Memory budget in bytes

§total_output_rows: u64

Total output rows across all queries

§wcoj_triangle_dispatch_count: u64

WCOJ triangle-hook dispatches that installed a result (vs. silently falling back to the binary-join path). A value > 0 is the proof a run actually used the WCOJ triangle kernel.

§wcoj_4cycle_dispatch_count: u64

WCOJ 4-cycle-hook dispatches that installed a result.

§wcoj_groupby_fusion_dispatch_count: u64

Aggregate-fused group-by-root WCOJ dispatches (count without materializing the join rows).

§free_join_dispatch_count: u64

Generalized Free Join dispatches installed via the multiway plan.

§factorized_delta_dispatch_count: u64

Factorized recursive-delta dispatches installed in the semi-naive fixpoint.

§chain_fallback_scan_equivalents: u64

Scan operations in embedded binary fallbacks that are logically equivalent to successful ChainJoin specializations. These operations did not execute and are therefore excluded from strata[*].ops.

§chain_fallback_filter_equivalents: u64

Filter operations in embedded binary fallbacks that are logically equivalent to successful ChainJoin specializations. These operations did not execute and are therefore excluded from strata[*].ops.

§wcoj_error_decline_count: u64

WCOJ pipeline errors converted into binary-join declines. 0 is healthy; a nonzero value signals a regressed WCOJ pipeline hiding behind the silent-fallback contract.

§resident_graph: Option<ResidentGraphExecutionStats>

Selection, transfer, and device-timing evidence for an attempted resident conditional-graph execution.

Implementations§

Source§

impl ExecutionStats

Source

pub fn format_human(&self) -> String

Format stats as human-readable string

Source

pub fn format_json(&self) -> String

Format stats as JSON string

Trait Implementations§

Source§

impl Clone for ExecutionStats

Source§

fn clone(&self) -> ExecutionStats

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 ExecutionStats

Source§

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

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

impl Default for ExecutionStats

Source§

fn default() -> ExecutionStats

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

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> 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> 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.