Skip to content

Commit

Permalink
Add more logging during dump finalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Dec 15, 2023
1 parent df74f34 commit f313ea4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helpers/rust/src/types/statistics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ impl DumpStatistics {
}
}

log::info!("Collecting subclasses");

let mut classes = self
.classes
.values()
Expand All @@ -143,6 +145,8 @@ impl DumpStatistics {
})
.collect::<VecDeque<_>>();

log::info!("Found {} subclasses", classes.len());

while let Some(superclasses) = classes.pop_front() {
for super_class in superclasses {
if let Some(record) = self.classes.get_mut(&super_class) {
Expand Down Expand Up @@ -476,6 +480,8 @@ impl DumpStatistics {
log::info!("Finding non-empty subclasses");
self.compute_nonempty_subclasses();

log::info!("Writing results");

settings.replace_data(DataFile::Properties, &self.properties)?;
settings.update_timestamp(DataFile::Properties)?;

Expand Down

0 comments on commit f313ea4

Please sign in to comment.