MCPcopy Create free account
hub / github.com/erans/pgsqlite / stats_summary

Method stats_summary

src/cache/memory_aware_manager.rs:149–155  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

147 }
148
149 fn stats_summary(&self) -> String {
150 let stats = self.stats();
151 format!("entries: {}, size: {} bytes, hit_rate: {:.2}%",
152 stats.total_entries,
153 stats.total_size_bytes,
154 stats.hit_rate() * 100.0)
155 }
156}
157
158/// Memory-aware cache manager

Callers 1

get_cache_infoMethod · 0.80

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected