Initial fetch of translations models takes longer 10x on Linux than on macOS
Categories
(Firefox :: Translations, defect, P3)
Tracking
()
People
(Reporter: nordzilla, Unassigned)
References
Details
Description
When opening the about:translations
page and loading models on my macOS machine vs. my Ubuntu machine, I notice a significant difference in the time it takes to build the TranslationsEngine
when fetching un-cached model and wasm data from remote settings.
On macOS the entire process takes about 1 second on the initial fetch.
On Ubuntu the entire process takes upwards of 10 seconds on the initial fetch.
While the user experience will be made better in Bug 1814168 by communicating to the user that the models are being downloaded, a 10x difference in performance between the two systems seems worth investigating.
Steps to Reproduce
- Launch Firefox on a clean build.
- Enable
browser.translations.enable
inabout:config
. - Navigate to
about:translations
. - Type "This is a test." into the left-side English text box.
- Switch the right-side language to Spanish by selecting it in the dropdown menu.
- Observe how long it takes for the translation to load.
Profiles
Here are two profiles, one from macOS and one from Ubuntu, testing the exact same steps to reproduce on a fresh build. The Ubuntu profile takes roughly 10x longer than the macOS profile for the network requests to finish.
Both profiles were captured on the same day, connected to the same WiFi network.
macOS Profile
https://share.firefox.dev/3I1PNhr
Ubuntu Profile
https://share.firefox.dev/40WrBFT
Comment 1•10 months ago
|
||
I occasionally get behavior where the attachments take ~3-5 seconds to load for no apparent reason. I have profiled and not seen any reason why. I have a local profile where it was reproducing. This still seems like an area worth investigating.
Updated•10 months ago
|
Comment 2•10 months ago
|
||
I don't know that we can consistently reproduce, so I'm making this not block release.
Comment 3•8 months ago
|
||
Have you seen this again :nordzilla? Can we close?
Reporter | ||
Comment 4•8 months ago
|
||
This is still the case in my general observed usage on Linux and macOS on the same Wi-Fi network.
I think it's still worth investigating.
Comment hidden (spam) |
Comment 6•1 month ago
|
||
I'm going to close this as we haven't gotten any other reports of issues like this, and no solid steps to reproduce.
Description
•