pub struct PerformanceTestSuite { /* private fields */ }
Expand description
Performance test suite
Implementations§
Source§impl PerformanceTestSuite
impl PerformanceTestSuite
Sourcepub fn new(config: PerformanceTestConfig) -> Self
pub fn new(config: PerformanceTestConfig) -> Self
Create new performance test suite
Sourcepub fn run_basic_tests(&mut self) -> TrackingResult<PerformanceTestReport>
pub fn run_basic_tests(&mut self) -> TrackingResult<PerformanceTestReport>
Run basic tests
Sourcepub fn run_full_test_suite(&mut self) -> TrackingResult<PerformanceTestReport>
pub fn run_full_test_suite(&mut self) -> TrackingResult<PerformanceTestReport>
Run complete test suite
Sourcepub fn run_baseline_performance_tests(&mut self) -> TrackingResult<()>
pub fn run_baseline_performance_tests(&mut self) -> TrackingResult<()>
Run benchmark performance tests
Sourcepub fn run_shard_size_optimization_tests(&mut self) -> TrackingResult<()>
pub fn run_shard_size_optimization_tests(&mut self) -> TrackingResult<()>
Run shard size optimization tests
Sourcepub fn run_memory_usage_tests(&mut self) -> TrackingResult<()>
pub fn run_memory_usage_tests(&mut self) -> TrackingResult<()>
Run memory usage tests
Sourcepub fn run_before_after_comparison_tests(&mut self) -> TrackingResult<()>
pub fn run_before_after_comparison_tests(&mut self) -> TrackingResult<()>
Run before/after optimization comparison tests
Sourcepub fn run_thread_scalability_tests(&mut self) -> TrackingResult<()>
pub fn run_thread_scalability_tests(&mut self) -> TrackingResult<()>
Multi-thread scalability tests
Sourcepub fn generate_performance_report(&self) -> PerformanceTestReport
pub fn generate_performance_report(&self) -> PerformanceTestReport
Generate performance test report
Auto Trait Implementations§
impl Freeze for PerformanceTestSuite
impl RefUnwindSafe for PerformanceTestSuite
impl Send for PerformanceTestSuite
impl Sync for PerformanceTestSuite
impl Unpin for PerformanceTestSuite
impl UnwindSafe for PerformanceTestSuite
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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