Open Bug 1981066 Opened 2 months ago Updated 20 days ago

startup in AddonManager.sys.mjs takes 54ms during applink startup

Categories

(Toolkit :: Add-ons Manager, defect, P3)

Unspecified
Android
defect

Tracking

()

People

(Reporter: jlink, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

In this profile of the applink startup newssite test, it can be seen that startup() in AddonManager.sys.mjs is taking 54ms of applink start-up on a Google Pixel 6.

The profile also shows 5.6ms spent in AddonManager.sys.mjs right before startup() as well but I'm not entirely sure how to attribute that.

The profile also shows 5.6ms spent in AddonManager.sys.mjs right before startup() as well but I'm not entirely sure how to attribute that.

Your profiler link limits the view to "Script"; if you select "All frames", it is apparent that those 5.6ms are spent on compiling/loading AddonManager.sys.mjs and its dependencies.

The only really actionable part out of the 54ms (which includes profiler overhead btw) that I see is:

To check what else we can do, we need an answer to https://bugzilla.mozilla.org/show_bug.cgi?id=1980558#c3

Depends on: 1983550

The severity field is not set for this bug.
:zombie, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tomica)

bug 1983550 is actionable; nothing else is here yet, so we're not prioritizing any work in this area at this time.

Severity: -- → S3
Flags: needinfo?(tomica)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.