Add logging timers

This commit is contained in:
many 2021-08-24 13:55:53 +02:00
parent a2f59a28f7
commit fc7cc770d4
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
14 changed files with 16 additions and 0 deletions

View file

@ -15,6 +15,7 @@ use crate::{DocumentId, FieldId, Result};
///
/// Returns the generated grenad reader containing the docid the fid and the orginal value as key
/// and the normalized value as value extracted from the given chunk of documents.
#[logging_timer::time]
pub fn extract_fid_docid_facet_values<R: io::Read>(
mut obkv_documents: grenad::Reader<R>,
indexer: GrenadParameters,