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

@ -17,6 +17,7 @@ use crate::{FieldId, Result};
///
/// Returns the generated internal documents ids and a grenad reader
/// with the list of extracted words from the given chunk of documents.
#[logging_timer::time]
pub fn extract_docid_word_positions<R: io::Read>(
mut obkv_documents: grenad::Reader<R>,
indexer: GrenadParameters,