97
edits
(Update power-usage section with information on units, and proportional power usage.) |
|||
| Line 100: | Line 100: | ||
* We set `scenario_time` to '''20 minutes''' (1200000 milliseconds), and `page_timeout` to '22 minutes' (1320000 milliseconds) | * We set `scenario_time` to '''20 minutes''' (1200000 milliseconds), and `page_timeout` to '22 minutes' (1320000 milliseconds) | ||
** It's crucial that `page_timeout` exceed `scenario_time`; if not, measurement tests will fail/bail early | ** It's crucial that `page_timeout` exceed `scenario_time`; if not, measurement tests will fail/bail early | ||
* We launch the {Fenix, Fennec, GeckoView, Reference Browser} on-Android app | * We launch the {Fenix, Fennec, GeckoView, Reference Browser} on-Android app | ||
* Post-startup browser settle pause of 30 seconds | * Post-startup browser settle pause of 30 seconds | ||
* On Fennec only, a new browser tab is created (other Firefox apps use the single/existing tab) | * On Fennec only, a new browser tab is created (other Firefox apps use the single/existing tab) | ||
* | * Power-use/battery-level measurements (app-specific measurements) are taken, via: | ||
* adb shell dumpsys | * adb shell dumpsys batterystats | ||
* Raw power-use measurement data is listed in the perfherder-data.json/raptor.json artifacts | * Raw power-use measurement data is listed in the perfherder-data.json/raptor.json artifacts | ||
In the Perfherder (or Firefox Health) dashboards for these power usage tests, all data points have milli-Ampere-hour units, with a lower value being better. | |||
Proportional power usage is the total power usage of hidden battery sippers that is proportionally "smeared"/distributed across all open applications. | |||
==== Running Locally ==== | ==== Running Locally ==== | ||
edits