Open Bug 1807347 Opened 3 years ago Updated 2 years ago

Try switching to Navigation library Kotlin DSL (35ms COLD start improvement?)

Categories

(Firefox for Android :: Performance, enhancement, P3)

All
Android
enhancement

Tracking

()

Performance Impact none

People

(Reporter: cpeterson, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/22862.

For cold start up, we identified the Navigation library takes 35ms on a Moto G5 (via profiler) to inflate the nav graph XML: see https://issuetracker.google.com/issues/181320543. It turns out there is a Kotlin DSL to perform the same operation that theoretically take much less time: https://developer.android.com/guide/navigation/navigation-kotlin-dsl We should implement it as a prototype and measure the difference in start up.

┆Issue is synchronized with this Jira Story

Change performed by the Move to Bugzilla add-on.

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)
Performance Impact: --- → none
Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.