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.
This commit is contained in:
Mark Rousskov 2020-09-12 10:05:10 -04:00
parent fb47bda53d
commit e788b1a2fe

View File

@ -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());
}