pub struct ProfilingConfig {
pub enabled: bool,
pub monitor_interval_ms: u64,
pub max_history_size: usize,
pub auto_export_results: bool,
pub export_file_path: String,
pub enable_regression_testing: bool,
pub max_regression_percent: f64,
}Expand description
Performance profiling configuration
Fields§
§enabled: boolEnable performance profiling
monitor_interval_ms: u64Resource monitoring interval in milliseconds
max_history_size: usizeMaximum benchmark history size
auto_export_results: boolAuto-export results to file
export_file_path: StringExport file path
enable_regression_testing: boolEnable regression testing
max_regression_percent: f64Maximum allowed performance regression percentage
Trait Implementations§
Source§impl Clone for ProfilingConfig
impl Clone for ProfilingConfig
Source§fn clone(&self) -> ProfilingConfig
fn clone(&self) -> ProfilingConfig
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 ProfilingConfig
impl Debug for ProfilingConfig
Source§impl Default for ProfilingConfig
impl Default for ProfilingConfig
Source§impl<'de> Deserialize<'de> for ProfilingConfig
impl<'de> Deserialize<'de> for ProfilingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ProfilingConfig
impl JsonSchema for ProfilingConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ProfilingConfig
impl RefUnwindSafe for ProfilingConfig
impl Send for ProfilingConfig
impl Sync for ProfilingConfig
impl Unpin for ProfilingConfig
impl UnwindSafe for ProfilingConfig
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