pub struct StageMetrics {
pub execution_time: Duration,
pub peak_memory: usize,
pub input_rows: usize,
pub output_rows: usize,
pub cpu_time: Duration,
pub io_operations: usize,
pub cache_hit_ratio: Option<f64>,
}Expand description
Performance metrics for a pipeline stage
Fields§
§execution_time: DurationStage execution time
peak_memory: usizeMemory peak usage during stage
input_rows: usizeNumber of rows input to stage
output_rows: usizeNumber of rows output from stage
cpu_time: DurationCPU time spent in stage
io_operations: usizeI/O operations performed
cache_hit_ratio: Option<f64>Cache hit ratio (if applicable)
Trait Implementations§
Source§impl Clone for StageMetrics
impl Clone for StageMetrics
Source§fn clone(&self) -> StageMetrics
fn clone(&self) -> StageMetrics
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 StageMetrics
impl Debug for StageMetrics
Source§impl<'de> Deserialize<'de> for StageMetrics
impl<'de> Deserialize<'de> for StageMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StageMetrics
impl RefUnwindSafe for StageMetrics
impl Send for StageMetrics
impl Sync for StageMetrics
impl Unpin for StageMetrics
impl UnwindSafe for StageMetrics
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