MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / CacheEfficiencyMetrics

Class CacheEfficiencyMetrics

graphlite/src/cache/plan_cache.rs:358–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356/// Cache efficiency metrics for monitoring
357#[derive(Debug, Clone)]
358pub struct CacheEfficiencyMetrics {
359 pub hit_rate: f64,
360 pub memory_utilization: f64,
361 pub average_entry_usage: f64,
362 pub eviction_rate: f64,
363 pub compilation_time_saved_ms: u64,
364}
365
366/// Helper to create plan cache key from query and context
367pub fn create_plan_cache_key(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected