Skip to content

Commit e788b1a

Browse files
Print all step timings
It is really painful to inspect differences in what was built in CI if things are appearing and disappearing randomly as they hover around the 100ms mark. No matter what we choose there's always going to be quite a bit of variability on CI in timing, so we're going to see things appear and vanish.
1 parent fb47bda commit e788b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ impl<'a> Builder<'a> {
14241424
(out, dur - deps)
14251425
};
14261426

1427-
if self.config.print_step_timings && dur > Duration::from_millis(100) {
1427+
if self.config.print_step_timings {
14281428
println!("[TIMING] {:?} -- {}.{:03}", step, dur.as_secs(), dur.subsec_millis());
14291429
}
14301430

0 commit comments

Comments
 (0)