pub struct BenchmarkConfiguration {
pub warmup_iterations: usize,
pub measurement_iterations: usize,
pub min_duration_ms: u64,
pub max_duration_ms: u64,
pub confidence_level: f64,
pub variance_threshold: f64,
pub enable_memory_profiling: bool,
pub enable_gpu_profiling: bool,
pub enable_system_metrics: bool,
pub collect_gc_stats: bool,
}Expand description
Benchmark configuration ベンチマーク設定
Fields§
§warmup_iterations: usizeNumber of warmup iterations ウォームアップ反復回数
measurement_iterations: usizeNumber of measurement iterations 測定反復回数
min_duration_ms: u64Minimum benchmark duration (milliseconds) 最小ベンチマーク期間(ミリ秒)
max_duration_ms: u64Maximum benchmark duration (milliseconds) 最大ベンチマーク期間(ミリ秒)
confidence_level: f64Statistical confidence level (0.0 to 1.0) 統計的信頼水準(0.0から1.0)
variance_threshold: f64Acceptable measurement variance threshold 許容測定分散閾値
enable_memory_profiling: boolEnable detailed memory profiling 詳細メモリプロファイリングを有効化
enable_gpu_profiling: boolEnable GPU profiling GPUプロファイリングを有効化
enable_system_metrics: boolEnable system metrics collection システムメトリクス収集を有効化
collect_gc_stats: boolCollect GC statistics GC統計を収集
Trait Implementations§
Source§impl Clone for BenchmarkConfiguration
impl Clone for BenchmarkConfiguration
Source§fn clone(&self) -> BenchmarkConfiguration
fn clone(&self) -> BenchmarkConfiguration
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 BenchmarkConfiguration
impl Debug for BenchmarkConfiguration
Auto Trait Implementations§
impl Freeze for BenchmarkConfiguration
impl RefUnwindSafe for BenchmarkConfiguration
impl Send for BenchmarkConfiguration
impl Sync for BenchmarkConfiguration
impl Unpin for BenchmarkConfiguration
impl UnwindSafe for BenchmarkConfiguration
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> 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