pub struct DeltaPlannerTelemetry {
pub cache_reused: bool,
pub fallback_decision: String,
pub affected_sccs: usize,
pub recomputed_sccs: usize,
pub incremental_sccs: usize,
pub estimated_delta_speedup: Option<f64>,
pub measured_delta_speedup: Option<f64>,
pub planner_advice: Vec<String>,
}Expand description
Planner-grade telemetry for a persistent-session relation delta update.
Fields§
§cache_reused: boolTrue when the relation-delta path reused an existing session/cache.
fallback_decision: StringPlanner decision used for this delta update.
affected_sccs: usizeNumber of SCCs affected by the delta dependency closure.
recomputed_sccs: usizeNumber of SCCs recomputed from scratch.
incremental_sccs: usizeNumber of SCCs updated incrementally.
estimated_delta_speedup: Option<f64>Estimated speedup of delta evaluation over full recompute when available.
measured_delta_speedup: Option<f64>Measured speedup of delta evaluation over full recompute when both timings are available.
planner_advice: Vec<String>Human-readable planner guidance for downstream diagnostics.
Implementations§
Source§impl DeltaPlannerTelemetry
impl DeltaPlannerTelemetry
Sourcepub fn from_delta_report(
report: &LogicDeltaReport,
cache_reused: bool,
measured_micros: Option<(u64, u64)>,
) -> Self
pub fn from_delta_report( report: &LogicDeltaReport, cache_reused: bool, measured_micros: Option<(u64, u64)>, ) -> Self
Build planner telemetry from a delta report and optional timing evidence.
Trait Implementations§
Source§impl Clone for DeltaPlannerTelemetry
impl Clone for DeltaPlannerTelemetry
Source§fn clone(&self) -> DeltaPlannerTelemetry
fn clone(&self) -> DeltaPlannerTelemetry
Returns a duplicate of the value. Read more
1.0.0 · 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 DeltaPlannerTelemetry
impl Debug for DeltaPlannerTelemetry
Source§impl Default for DeltaPlannerTelemetry
impl Default for DeltaPlannerTelemetry
Source§fn default() -> DeltaPlannerTelemetry
fn default() -> DeltaPlannerTelemetry
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeltaPlannerTelemetry
impl PartialEq for DeltaPlannerTelemetry
impl StructuralPartialEq for DeltaPlannerTelemetry
Auto Trait Implementations§
impl Freeze for DeltaPlannerTelemetry
impl RefUnwindSafe for DeltaPlannerTelemetry
impl Send for DeltaPlannerTelemetry
impl Sync for DeltaPlannerTelemetry
impl Unpin for DeltaPlannerTelemetry
impl UnsafeUnpin for DeltaPlannerTelemetry
impl UnwindSafe for DeltaPlannerTelemetry
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