pub struct PerformanceTestConfig {
pub dataset_sizes: Vec<usize>,
pub shard_sizes: Vec<usize>,
pub thread_counts: Vec<usize>,
pub buffer_sizes: Vec<usize>,
pub test_iterations: usize,
pub memory_limit_mb: usize,
pub verbose: bool,
}
Expand description
Performance test configuration
Fields§
§dataset_sizes: Vec<usize>
Test dataset sizes
shard_sizes: Vec<usize>
Shard size test range
thread_counts: Vec<usize>
Thread count test range
buffer_sizes: Vec<usize>
Buffer size test range
test_iterations: usize
Test iteration count
memory_limit_mb: usize
Memory limit (MB)
verbose: bool
Enable verbose output
Trait Implementations§
Source§impl Clone for PerformanceTestConfig
impl Clone for PerformanceTestConfig
Source§fn clone(&self) -> PerformanceTestConfig
fn clone(&self) -> PerformanceTestConfig
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 PerformanceTestConfig
impl Debug for PerformanceTestConfig
Auto Trait Implementations§
impl Freeze for PerformanceTestConfig
impl RefUnwindSafe for PerformanceTestConfig
impl Send for PerformanceTestConfig
impl Sync for PerformanceTestConfig
impl Unpin for PerformanceTestConfig
impl UnwindSafe for PerformanceTestConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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