pub struct PerformanceAnalyzer { /* private fields */ }Expand description
Performance analyzer for comprehensive WAL metrics analysis.
Provides high-level analysis capabilities that combine metrics from all components to generate insights, detect patterns, and identify optimization opportunities.
Implementations§
Source§impl PerformanceAnalyzer
impl PerformanceAnalyzer
Sourcepub fn new() -> Self
pub fn new() -> Self
Create new performance analyzer with default configuration.
Initializes the analyzer with sensible defaults for typical V2 WAL workloads and performance expectations.
§Returns
A new PerformanceAnalyzer instance
Sourcepub fn with_config(config: AnalysisConfig) -> Self
pub fn with_config(config: AnalysisConfig) -> Self
Sourcepub fn analyze(&self, metrics: &V2WALMetrics) -> PerformanceAnalysis
pub fn analyze(&self, metrics: &V2WALMetrics) -> PerformanceAnalysis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerformanceAnalyzer
impl RefUnwindSafe for PerformanceAnalyzer
impl Send for PerformanceAnalyzer
impl Sync for PerformanceAnalyzer
impl Unpin for PerformanceAnalyzer
impl UnwindSafe for PerformanceAnalyzer
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> 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