pub struct ProfilingStatistics {Show 13 fields
pub total_queries: u64,
pub avg_execution_time_ms: f64,
pub median_execution_time_ms: f64,
pub p95_execution_time_ms: f64,
pub p99_execution_time_ms: f64,
pub max_execution_time_ms: u64,
pub min_execution_time_ms: u64,
pub total_triples_matched: u64,
pub avg_triples_per_query: f64,
pub top_patterns: Vec<(String, u64)>,
pub top_indexes: Vec<(String, u64)>,
pub overall_cache_hit_rate: f32,
pub slow_query_count: u64,
}Expand description
Profiling statistics aggregated across multiple queries
Fields§
§total_queries: u64Total number of queries profiled
avg_execution_time_ms: f64Average execution time
median_execution_time_ms: f64Median execution time
p95_execution_time_ms: f6495th percentile execution time
p99_execution_time_ms: f6499th percentile execution time
max_execution_time_ms: u64Slowest query time
min_execution_time_ms: u64Fastest query time
total_triples_matched: u64Total triples matched
avg_triples_per_query: f64Average triples per query
top_patterns: Vec<(String, u64)>Most common patterns
top_indexes: Vec<(String, u64)>Most accessed indexes
overall_cache_hit_rate: f32Overall cache hit rate
slow_query_count: u64Number of slow queries
Trait Implementations§
Source§impl Clone for ProfilingStatistics
impl Clone for ProfilingStatistics
Source§fn clone(&self) -> ProfilingStatistics
fn clone(&self) -> ProfilingStatistics
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 ProfilingStatistics
impl Debug for ProfilingStatistics
Source§impl Default for ProfilingStatistics
impl Default for ProfilingStatistics
Source§impl<'de> Deserialize<'de> for ProfilingStatistics
impl<'de> Deserialize<'de> for ProfilingStatistics
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 ProfilingStatistics
impl RefUnwindSafe for ProfilingStatistics
impl Send for ProfilingStatistics
impl Sync for ProfilingStatistics
impl Unpin for ProfilingStatistics
impl UnsafeUnpin for ProfilingStatistics
impl UnwindSafe for ProfilingStatistics
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