pub struct ModulePerformanceMetrics {
pub total_modules: usize,
pub topological_sort_duration: Duration,
pub dependency_resolution_duration: Duration,
pub configuration_duration: Duration,
pub initialization_duration: Duration,
pub avg_init_time_per_module: Duration,
pub slowest_module: Option<String>,
pub slowest_init_time: Duration,
}Expand description
Performance metrics for module runtime operations
Fields§
§total_modules: usizeTotal modules processed
topological_sort_duration: DurationTime taken for topological sorting
dependency_resolution_duration: DurationTime taken for dependency resolution
configuration_duration: DurationTime taken for configuration phase
initialization_duration: DurationTime taken for initialization phase
avg_init_time_per_module: DurationAverage initialization time per module
slowest_module: Option<String>Slowest module to initialize
slowest_init_time: DurationSlowest module initialization time
Trait Implementations§
Source§impl Clone for ModulePerformanceMetrics
impl Clone for ModulePerformanceMetrics
Source§fn clone(&self) -> ModulePerformanceMetrics
fn clone(&self) -> ModulePerformanceMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModulePerformanceMetrics
impl Debug for ModulePerformanceMetrics
Source§impl Default for ModulePerformanceMetrics
impl Default for ModulePerformanceMetrics
Source§fn default() -> ModulePerformanceMetrics
fn default() -> ModulePerformanceMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModulePerformanceMetrics
impl RefUnwindSafe for ModulePerformanceMetrics
impl Send for ModulePerformanceMetrics
impl Sync for ModulePerformanceMetrics
impl Unpin for ModulePerformanceMetrics
impl UnsafeUnpin for ModulePerformanceMetrics
impl UnwindSafe for ModulePerformanceMetrics
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