Closed Bug 1820122 Opened 1 year ago Closed 1 year ago

firefox-android: Optimize `external-gradle-dependencies` task on Focus and Fenix

Categories

(Release Engineering :: General, enhancement)

enhancement

Tracking

(firefox113 fixed, firefox114 fixed)

RESOLVED FIXED
Tracking Status
firefox113 --- fixed
firefox114 --- fixed

People

(Reporter: jlorenzo, Assigned: gbrown)

References

Details

Attachments

(1 file)

In bug 1807237, we optimized the task in charge of caching external gradle dependencies on Taskcluster. However, just optimized it in the case of Android-Components by splitting the cache per Android-Component.

Focus and more importantly Fenix couldn't be optimized the same way because they're just a single gradle project. As a result, the Fenix task takes between 45 and 75 minutes to complete 🐌 Thus, we need to find a better way to optimize these tasks.

On top of my head, I'm thinking of using bigger GCP instances which results in more CPU cores but also better IO on drive. We should also make sure we use "local SSDs"[1] instead of network-bound ones.

I hope this is going to be enough. Otherwise, we have to find another way of optimizing these jobs.

[1] https://cloud.google.com/compute/docs/disks/local-ssd

See Also: → 1820129
Authored by https://github.com/JohanLorenzo
https://github.com/mozilla-mobile/firefox-android/commit/281ee0bb712e5b091bbfca21c2f245500be57ab4
[main] Bug 1820122 - Use `b-android-xlarge` to speed up external-gradle-dependencies jobs
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 1825343
Assignee: nobody → gbrown

https://github.com/mozilla-mobile/firefox-android/pull/1790 removes the gradle 'test' task from external-gradle-dependencies-fenix; that seems to reduce run time by about 60 minutes.

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Flags: qe-verify+
Duplicate of this bug: 1825343
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: