]> git.lizzy.rs Git - rust.git/commitdiff
Print all step timings
authorMark Rousskov <mark.simulacrum@gmail.com>
Sat, 12 Sep 2020 14:05:10 +0000 (10:05 -0400)
committerMark Rousskov <mark.simulacrum@gmail.com>
Sat, 12 Sep 2020 14:05:10 +0000 (10:05 -0400)
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.

src/bootstrap/builder.rs

index 844a29fadae1e27e788f6a8074a711808bcfedf2..848edd8f37fd1e68213185b01adb6c75588b13c9 100644 (file)
@@ -1424,7 +1424,7 @@ pub fn ensure<S: Step>(&'a self, step: S) -> S::Output {
             (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());
         }