Open Bug 1556793 Opened 5 years ago Updated 2 years ago

Make it easy to avoid -purgecaches when launching org.mozilla.geckoview_example

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: nalexander, Unassigned)

References

Details

Startup performance can be difficult to assess because in Debug builds, GeckoViewActivity invokes Gecko with -purgecaches: https://searchfox.org/mozilla-central/rev/f8b11433159cbc9cc80500b3e579d767473fa539/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#138-142.

Since this is App-specific, I don't quite know what the best way to allow flagging it off is. Should we require people to comment it out? That's a great way to have everybody find out about it after they've spent hours understanding what's going on. Should we have some flag to the future mach run ... invocation that handles org.mozilla.geckoview_example? Can we use an environment variable and then the file configuration mechanism of Bug 1533385 to handle this case? That last sounds like the best.

Depends on: 1557805
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.