Closed
Bug 1298122
Opened 8 years ago
Closed 8 years ago
Optimize IO
Categories
(L20n :: General, defect)
L20n
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zbraniecki, Assigned: zbraniecki)
Details
(Whiteboard: [gecko-l20n])
One of the identified bottlenecks of the l20n in XUL on larch branch is IO (see bug 1289530 comment 5 and later). I'd like to try to make an attempt to get the IO as early as possible and as sync as necessary as it will unblock everything else in l20n startup path.
Assignee | ||
Updated•8 years ago
|
Whiteboard: [gecko-l20n]
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•8 years ago
|
||
harcoded IO - changeset: https://hg.mozilla.org/try/rev/220a80e0acb9 try build: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e0cb369c04f talos: https://treeherder.mozilla.org/perf.html#/compare?originalProject=larch&originalRevision=7214320961ed&newProject=try&newRevision=2e0cb369c04f&framework=1&showOnlyImportant=0
Comment 2•8 years ago
|
||
According to Zibi's findings which I also reproduced today it doesn't really matter when exactly the IO starts. In (A) all of L20n's initialization is run after the documentReady() promise resolves. In (B) the IO starts as soon as possible (as soon as we can query for <link rel="localization">). (A) IO starts: 100 ms, IO ends: 140 ms, (B) IO starts: 40 ms, IO ends: 140 ms. In (B) we still need to guard the initial translation of the document with documentReady(). The reason for this is that we can't rely on the unguarded MutationObserver in XUL documents: bug 1294197.
Assignee | ||
Comment 3•8 years ago
|
||
We increased the amount of talos runs in order to improve the reliability of the results. New try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=370c9b0bb54b we'll compare it against the results from bug 1289530 comment 14.
Assignee | ||
Comment 4•8 years ago
|
||
This is long done. https://wiki.mozilla.org/L20n/Firefox/Performance
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•