Add tracing to milli

This commit is contained in:
Louis Dureuil
2024-01-23 09:42:48 +01:00
parent 02e6c8a440
commit 5d7061682e
24 changed files with 150 additions and 29 deletions

View File

@ -38,7 +38,12 @@ impl<'t, 'i> WordsPrefixesFst<'t, 'i> {
self
}
#[logging_timer::time("WordsPrefixesFst::{}")]
#[tracing::instrument(
level = "trace",
skip_all,
target = "indexing::prefix",
name = "words_prefix_fst"
)]
pub fn execute(self) -> Result<()> {
puffin::profile_function!();