firefox-android: Optimize `external-gradle-dependencies` task on Focus and Fenix
Categories
(Release Engineering :: General, enhancement)
Tracking
(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.
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
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
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
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.
Comment 4•1 year ago
|
||
Authored by https://github.com/gbrownmozilla
https://github.com/mozilla-mobile/firefox-android/commit/19dd4939a9e0080dc83584b768d1494acd17aa20
[main] Bug 1820122 - Do not run gradle 'test' in external-gradle-dependencies-fenix
Updated•1 year ago
|
Description
•