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

@ -48,6 +48,7 @@ impl<'t, 'u, 'i> WordsPrefixesFst<'t, 'u, 'i> {
self
}
#[logging_timer::time("WordsPrefixesFst::{}")]
pub fn execute(self) -> Result<()> {
let words_fst = self.index.words_fst(&self.wtxn)?;