Add logging timers

This commit is contained in:
many
2021-08-24 13:55:53 +02:00
parent a2f59a28f7
commit fc7cc770d4
14 changed files with 16 additions and 0 deletions

View File

@ -57,6 +57,7 @@ impl<'t, 'u, 'i> Facets<'t, 'u, 'i> {
self
}
#[logging_timer::time("Facets::{}")]
pub fn execute(self) -> Result<()> {
self.index.set_updated_at(self.wtxn, &Utc::now())?;
// We get the faceted fields to be able to create the facet levels.