pub struct ScalabilityMetrics {
pub linear_scaling_factor: f64,
pub degradation_curve: Vec<(u32, f64)>,
pub bottleneck_score: f64,
pub elasticity_coefficient: f64,
}Expand description
Scalability metrics for concurrent and parallel Rust workloads.
Fields§
§linear_scaling_factor: f64Linear scaling factor (1.0 = perfect linear scaling)
degradation_curve: Vec<(u32, f64)>Performance at different concurrency levels (threads, performance_ratio)
bottleneck_score: f64Bottleneck score (0.0 to 1.0, higher is worse)
elasticity_coefficient: f64Elasticity coefficient (0.0 to 1.0, higher is better)
Trait Implementations§
Source§impl Clone for ScalabilityMetrics
impl Clone for ScalabilityMetrics
Source§fn clone(&self) -> ScalabilityMetrics
fn clone(&self) -> ScalabilityMetrics
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 ScalabilityMetrics
impl Debug for ScalabilityMetrics
Source§impl Default for ScalabilityMetrics
impl Default for ScalabilityMetrics
Source§impl<'de> Deserialize<'de> for ScalabilityMetrics
impl<'de> Deserialize<'de> for ScalabilityMetrics
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
Auto Trait Implementations§
impl Freeze for ScalabilityMetrics
impl RefUnwindSafe for ScalabilityMetrics
impl Send for ScalabilityMetrics
impl Sync for ScalabilityMetrics
impl Unpin for ScalabilityMetrics
impl UnwindSafe for ScalabilityMetrics
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