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

Method get_stats

src/optimization/mod.rs:142–145  ·  view source on GitHub ↗

Get optimization statistics

(&self)

Source from the content-addressed store, hash-verified

140
141 /// Get optimization statistics
142 pub fn get_stats(&self) -> OptimizationStats {
143 let stats = self.optimization_stats.read().unwrap();
144 stats.clone()
145 }
146
147 /// Reset optimization statistics
148 pub fn reset_stats(&self) {

Callers 6

get_read_only_statsMethod · 0.45
test_query_analysisFunction · 0.45
test_schema_loadingFunction · 0.45

Calls 2

readMethod · 0.80
cloneMethod · 0.45

Tested by 3

test_query_analysisFunction · 0.36
test_schema_loadingFunction · 0.36