Performance/Android: Difference between revisions

Updates to app table
(Added Gotchas)
(Updates to app table)
Line 1: Line 1:
This page contains links to helpful resources on the performance of our Android apps.
This page contains helpful resources relating to the performance of our Android apps.


== Apps ==
== Apps ==
Line 15: Line 15:
! App !! Remote Debugging  !! Content Blocking !! GeckoView is instantiated !! Runtime settings configured here
! App !! Remote Debugging  !! Content Blocking !! GeckoView is instantiated !! Runtime settings configured here
|-
|-
| geckoview_example || Enabled by default || Disabled || App launch || https://searchfox.org/mozilla-central/rev/330daedbeac2bba296d663668e0e0cf248bc6823/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#117-136
| geckoview_example || Enabled by default || Enabled: all tracking categories  || App launch || https://searchfox.org/mozilla-central/rev/330daedbeac2bba296d663668e0e0cf248bc6823/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#117-136
|-
|-
| reference-browser || Disabled (can be enabled via UI) || Disabled || App launch || https://github.com/mozilla-mobile/reference-browser/blob/ada3208b7f2f0141fd98707d05ed0e4a82783557/app/src/geckoNightly/java/org/mozilla/reference/browser/EngineProvider.kt
| reference-browser || Disabled (can be enabled via UI) || Disabled || App launch || https://github.com/mozilla-mobile/reference-browser/blob/ada3208b7f2f0141fd98707d05ed0e4a82783557/app/src/geckoNightly/java/org/mozilla/reference/browser/EngineProvider.kt
|-
|-
| Focus/Klar || Not available. https://github.com/mozilla-mobile/focus-android/issues/3745 || Enabled ** notes ** || First search || https://github.com/mozilla-mobile/focus-android/blob/20cd62cfd37935b8da6b65dd105f79099515fd32/app/src/main/java/org/mozilla/focus/web/GeckoWebViewProvider.kt
| Focus/Klar || Not available. https://github.com/mozilla-mobile/focus-android/issues/3745 || Enabled: Ad trackers, analytics trackers, social trackers (UI to modify and add others) || First search || https://github.com/mozilla-mobile/focus-android/blob/20cd62cfd37935b8da6b65dd105f79099515fd32/app/src/main/java/org/mozilla/focus/web/GeckoWebViewProvider.kt
|}
|}


Line 27: Line 27:
;Gotchas
;Gotchas


* Running the app with Remote Debugging enabled can seriously degrade performance
* Running the apps with Remote Debugging enabled can seriously degrade performance
* Swipe killing the apps will not kill the Gecko processes. Used adb force-stop, e.g. adb shell am force-stop org.mozilla.org.mozilla.geckoview_example
* Swipe killing the apps will not kill the Gecko processes. Used adb force-stop, e.g. adb shell am force-stop org.mozilla.org.mozilla.geckoview_example
9

edits