Skip to content

Commit

Permalink
Fix debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
javitonino committed Jan 19, 2024
1 parent 0157ec5 commit 6f60423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nucliadb_texts/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl WriterChild for TextWriterService {
}

let v = time.elapsed().as_millis();
debug!("{id:?} - Indexing document: starts at {v} ms");
debug!("{id:?} - Indexing document: ends at {v} ms");

let v = time.elapsed().as_millis();
debug!("{id:?} - Commit: starts at {v} ms");
Expand Down
2 changes: 1 addition & 1 deletion nucliadb_texts2/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl WriterChild for TextWriterService {
self.index_document(resource);
}
let v = time.elapsed().as_millis();
debug!("{id:?} - Indexing document: starts at {v} ms");
debug!("{id:?} - Indexing document: ends at {v} ms");

let v = time.elapsed().as_millis();
debug!("{id:?} - Commit: starts at {v} ms");
Expand Down

2 comments on commit 6f60423

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 6f60423 Previous: 5a633b0 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 12712.116037604745 iter/sec (stddev: 2.9428627635720154e-7) 12745.686329086004 iter/sec (stddev: 1.7317806991721728e-7) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 6f60423 Previous: 5a633b0 Ratio
nucliadb/search/tests/unit/search/test_fetch.py::test_highligh_error 12829.306831646763 iter/sec (stddev: 0.000001462743129352427) 12745.686329086004 iter/sec (stddev: 1.7317806991721728e-7) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.