Skip to content

Commit

Permalink
Print all step timings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mark-Simulacrum committed Sep 12, 2020
1 parent fb47bda commit e788b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ impl<'a> Builder<'a> {
(out, dur - deps)
};

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

Expand Down

0 comments on commit e788b1a

Please sign in to comment.