Changes

Jump to: navigation, search

TestEngineering/Performance/Raptor

241 bytes added, 20:41, 4 June 2019
Update power-usage section with information on units, and proportional power usage.
* 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
* [start] Power-use/battery-level measurements are taken, via:
* adb shell dumpsys battery
* We launch the {Fenix, Fennec, GeckoView, Reference Browser} on-Android app
* 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)
* [final] Power-use/battery-level measurements (app-specific measurements) are taken, via: * adb shell dumpsys batterybatterystats
* 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 ====
81
edits

Navigation menu