This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
~100ms regression in cold main time to first frame (1/28; Nimbus FML?) #23492
Labels
Projects
Comments
Bisection: Possible regressing commits: $ git log bfa8d85bd..82a6f8cae --pretty=oneline
82a6f8cae411603ba5abced3b13fc43ca40f335e First use of Nimbus FML plugin (#23400)
e92fe26df74f22c530186d52cf66439b94ce99c3 Import l10n.
15d8ca86d94c7736ace16226f01148afcce3e5df For #23448 - Update the address bar color to use @color/fx_mobile_layer_color_3
6596f4c28b619a42b27e50443636d02ea5e7c96e For #23432 - Use the imageUrl as the favicon for a provided top site |
mcomella
changed the title
~100ms regression in cold main time to first frame (1/28)
~100ms regression in cold main time to first frame (1/28; Nimbus FML?)
Jan 31, 2022
Eyeballing the code, this looks like a re-organization of the code to look up the default browser. BrowserCache.all(context).isFirefoxDefaultBrowser causes a lookup of the val resolveInfo = packageManager.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY)
?: return null The short term fix is to re-order the code to what it was before. The long term fix is to ensure that I'll put up a PR shortly. |
3 tasks
I'm sorry – I should have provided profiles. Here is with the Firefox Profiler (starts around when Gecko starts in start up, low overhead):
Here is with the Debug API (starts earlier during start up but has non-trivial overhead):
I don't see anything obvious. |
pkirakosyan
pushed a commit
to gexsi/user-agent-android
that referenced
this issue
Mar 10, 2022
…lt from main thread (mozilla-mobile#23556) * Fixes mozilla-mobile#23492 — Fixup perf regression of calling isFirefoxDefault from the main thread * Tightening of near defunct default browser message * Fixup early crash in debug build * ktlint
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Caught in our nightly backfill:
We go from 1.468s to 1.570s (102ms).
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: