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

Method average_time_saved_ms

graphlite/src/cache/subquery_cache.rs:356–362  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

354 }
355
356 pub fn average_time_saved_ms(&self) -> f64 {
357 if self.hits == 0 {
358 0.0
359 } else {
360 self.total_execution_time_saved_ms as f64 / self.hits as f64
361 }
362 }
363}
364
365/// Subquery result cache implementation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected