pub struct SimdParsingStats {
pub total_parses: u64,
pub simd_accelerated_parses: u64,
pub total_bytes_processed: u64,
pub average_processing_time_ns: u64,
pub simd_efficiency: f64,
}Expand description
Statistics about SIMD parsing performance
Fields§
§total_parses: u64§simd_accelerated_parses: u64§total_bytes_processed: u64§average_processing_time_ns: u64§simd_efficiency: f64Implementations§
Source§impl SimdParsingStats
impl SimdParsingStats
Sourcepub fn simd_usage_ratio(&self) -> f64
pub fn simd_usage_ratio(&self) -> f64
Calculate SIMD usage ratio
Sourcepub fn average_throughput_mbps(&self) -> f64
pub fn average_throughput_mbps(&self) -> f64
Calculate average throughput in MB/s
Trait Implementations§
Source§impl Clone for SimdParsingStats
impl Clone for SimdParsingStats
Source§fn clone(&self) -> SimdParsingStats
fn clone(&self) -> SimdParsingStats
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 SimdParsingStats
impl Debug for SimdParsingStats
Auto Trait Implementations§
impl Freeze for SimdParsingStats
impl RefUnwindSafe for SimdParsingStats
impl Send for SimdParsingStats
impl Sync for SimdParsingStats
impl Unpin for SimdParsingStats
impl UnwindSafe for SimdParsingStats
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