Closed Bug 1497133 Opened 6 years ago Closed 6 years ago

3.21 - 10.2% build times (windows2012-64) regression on push 556b2f4cd653 (Thu Oct 4 2018)

Categories

(Firefox Build System :: Toolchains, defect, P3)

x86_64
Windows
defect

Tracking

(firefox-esr60 unaffected, firefox62 unaffected, firefox63 unaffected, firefox64 fixed)

VERIFIED FIXED
mozilla64
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- unaffected
firefox63 --- unaffected
firefox64 --- fixed

People

(Reporter: igoldan, Assigned: chmanchester)

References

Details

(Keywords: regression)

We have detected a build metrics regression from push:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=4bada21c38bf68253216b06b7f21e2beaf047f6e&tochange=556b2f4cd653aa7642956ba66e60839b4ea9f474

As author of one of the patches included in that push, we need your help to address this regression.

Regressions:

 10%  build times windows2012-64 opt plain taskcluster-c5.4xlarge     1,591.35 -> 1,753.66
  7%  build times windows2012-64 opt plain taskcluster-c4.4xlarge     1,897.62 -> 2,036.99
  3%  build times windows2012-64 pgo msvc taskcluster-c4.4xlarge      4,496.93 -> 4,641.27


You can find links to graphs and comparison views for each of the above tests at: https://treeherder.mozilla.org/perf.html#/alerts?id=16456

On the page above you can see an alert for each affected platform as well as a link to a graph showing the history of scores for this test. There is also a link to a treeherder page showing the jobs in a pushlog format.

To learn more about the regressing test(s), please see: https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Automated_Performance_Testing_and_Sheriffing/Build_Metrics
Component: General → Toolchains
Product: Testing → Firefox Build System
Flags: needinfo?(cmanchester)
We're planning to back this out before the next merge, so I'm not too worried, but in the meantime we should notify the rust team about this.
Flags: needinfo?(cmanchester)
Alex, do we have benchmarks that run against rustc to attempt to detect regressions like this? Between this and https://bugzilla.mozilla.org/show_bug.cgi?id=1490145#c7 this seems like a potentially bad trend for windows build times and rustc upgrades.
Flags: needinfo?(acrichton)
njn might also be interested in knowing about slowdowns.
Priority: -- → P3
We have an extensive perf regression suite suited for compile time at https://perf.rust-lang.org/ but it's unfortunately only measured on Linux so it's possible that Windows-specific regression could sneak in without us knowing it. 

If there's something locally reproducible we can also try to narrow down a build time regression on our end!
Flags: needinfo?(acrichton)
Note that this is only a regression on Windows because the rust version was only bumped to beta on Windows.
Interestingly, it does seem like it's Windows-specific: upgrading to the same beta for linux builds doesn't cause a regression (in fact, the beta might even be faster)
https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=1587dffb77e8&newProject=try&newRevision=1f32a302eef4&framework=2
Any updates here?
Flags: needinfo?(cmanchester)
This is getting backed out tomorrow.
Flags: needinfo?(cmanchester)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee: nobody → cmanchester
Target Milestone: --- → mozilla64
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.