Skip to content

Commit cd9fade

Browse files
authored
Rollup merge of #109362 - nnethercote:split-meta-stats-items, r=bjorn3
Split `items` from `-Zmeta-stats` in two. Because it's one of the biggest sections. r? `@bjorn3`
2 parents 5ae1ce8 + cb587e7 commit cd9fade

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -609,10 +609,9 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
609609

610610
_ = stat!("mir", || self.encode_mir());
611611

612-
_ = stat!("items", || {
613-
self.encode_def_ids();
614-
self.encode_info_for_items();
615-
});
612+
_ = stat!("def-ids", || self.encode_def_ids());
613+
614+
_ = stat!("items", || self.encode_info_for_items());
616615

617616
let interpret_alloc_index = stat!("interpret-alloc-index", || {
618617
let mut interpret_alloc_index = Vec::new();

0 commit comments

Comments
 (0)