pub struct AdaptiveProfiler { /* private fields */ }Expand description
Adaptive profiler that automatically selects the best engine and handles fallbacks
Implementations§
Source§impl AdaptiveProfiler
impl AdaptiveProfiler
pub fn new() -> Self
pub fn with_logging(self, enabled: bool) -> Self
pub fn with_fallback(self, enabled: bool) -> Self
pub fn with_performance_logging(self, enabled: bool) -> Self
Sourcepub fn analyze_file(&self, file_path: &Path) -> Result<QualityReport>
pub fn analyze_file(&self, file_path: &Path) -> Result<QualityReport>
Analyze file with automatic engine selection and fallback
Sourcepub fn analyze_file_with_context(
&self,
file_path: &Path,
processing_type: ProcessingType,
) -> Result<QualityReport>
pub fn analyze_file_with_context( &self, file_path: &Path, processing_type: ProcessingType, ) -> Result<QualityReport>
Analyze file with specific processing context
Sourcepub fn benchmark_engines(
&self,
file_path: &Path,
) -> Result<Vec<EnginePerformance>>
pub fn benchmark_engines( &self, file_path: &Path, ) -> Result<Vec<EnginePerformance>>
Benchmark multiple engines and return performance comparison
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdaptiveProfiler
impl RefUnwindSafe for AdaptiveProfiler
impl Send for AdaptiveProfiler
impl Sync for AdaptiveProfiler
impl Unpin for AdaptiveProfiler
impl UnwindSafe for AdaptiveProfiler
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