Skip to content

Commit a37cef9

Browse files
committed
Add a note about interpreting job duration changes
1 parent 4a43675 commit a37cef9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: src/ci/citool/src/analysis.rs

+9
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,15 @@ pub fn output_largest_duration_changes(job_metrics: &HashMap<JobName, JobMetrics
238238
entry.change
239239
);
240240
}
241+
242+
println!();
243+
output_details("How to interpret the job duration changes?", || {
244+
println!(
245+
r#"Job durations can vary a lot, based on the actual runner instance
246+
that executed the job, system noise, invalidated caches, etc. The table above is provided
247+
mostly for t-infra members, for simpler debugging of potential CI slow-downs."#
248+
);
249+
});
241250
}
242251

243252
#[derive(Default)]

Diff for: src/ci/citool/src/utils.rs

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ where
2323
println!(
2424
r"<details>
2525
<summary>{summary}</summary>
26-
2726
"
2827
);
2928
func();

0 commit comments

Comments
 (0)