Get average load time
(&self)
| 279 | |
| 280 | /// Get average load time |
| 281 | pub fn get_average_load_time_ms(&self) -> f64 { |
| 282 | let stats = self.stats.read().unwrap(); |
| 283 | if stats.schemas_loaded > 0 { |
| 284 | stats.total_load_time_ms as f64 / stats.schemas_loaded as f64 |
| 285 | } else { |
| 286 | 0.0 |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | |
| 291 |
no test coverage detected