pub struct PerfMetricsSnapshot {
pub simd_hit_count: u64,
pub simd_miss_count: u64,
pub simd_latency_reduction_pct: f64,
pub zero_copy_hit_count: u64,
pub zero_copy_rss_reduction_pct: f64,
pub prewarm_success_count: u64,
pub plan_cache_hit_rate: f64,
pub plan_cache_eviction_count: u64,
}Expand description
性能加速指标快照(v7.3.0)
Fields§
§simd_hit_count: u64SIMD 命中次数
simd_miss_count: u64SIMD 未命中次数
simd_latency_reduction_pct: f64SIMD 延迟降低百分比
zero_copy_hit_count: u64零拷贝命中次数
zero_copy_rss_reduction_pct: f64零拷贝 RSS 降低百分比
prewarm_success_count: u64预热成功次数
plan_cache_hit_rate: f64计划缓存命中率
plan_cache_eviction_count: u64计划缓存淘汰次数
Trait Implementations§
Source§impl Clone for PerfMetricsSnapshot
impl Clone for PerfMetricsSnapshot
Source§fn clone(&self) -> PerfMetricsSnapshot
fn clone(&self) -> PerfMetricsSnapshot
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 PerfMetricsSnapshot
impl Debug for PerfMetricsSnapshot
Source§impl Default for PerfMetricsSnapshot
impl Default for PerfMetricsSnapshot
Source§fn default() -> PerfMetricsSnapshot
fn default() -> PerfMetricsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PerfMetricsSnapshot
impl RefUnwindSafe for PerfMetricsSnapshot
impl Send for PerfMetricsSnapshot
impl Sync for PerfMetricsSnapshot
impl Unpin for PerfMetricsSnapshot
impl UnsafeUnpin for PerfMetricsSnapshot
impl UnwindSafe for PerfMetricsSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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