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

@ -33,6 +33,7 @@ impl<'t, 'u, 'i> WordPrefixDocids<'t, 'u, 'i> {
}
}
#[logging_timer::time("WordPrefixDocids::{}")]
pub fn execute(self) -> Result<()> {
// Clear the word prefix docids database.
self.index.word_prefix_docids.clear(self.wtxn)?;