Add and run Android-OS baseline power-usage measurement test, in CI
Categories
(Testing :: Raptor, task, P1)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: stephend, Assigned: sparky)
References
Details
Attachments
(1 file)
After synching up with both Dave and Greg, we conferred we still need and want an OS-baseline-measurement test, which will run periodically in CI.
Greg can provide additional, fine-grained detail, since he's graciously looking into this.
Assignee | ||
Comment 1•5 years ago
|
||
The plan is to collect power usage data for 1 minute before raptor starts the tests (and before it starts the browser). The original plan was to subtract the OS baseline data from the test data but this won't work since the test data is already app-specific. Instead, we will need to submit the OS baseline results alongside the perfherder data (merged).
Assignee | ||
Comment 2•5 years ago
|
||
This patch adds an Android OS baseline test which runs before all tests when '--power-test' is supplied. The data is then added to the test's PERFHERDER_DATA blob as power data that is suffixed with '-baseline'.
Assignee | ||
Comment 3•5 years ago
|
||
Here's a try run for this patch: https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=d81ff5f312599d029b9389b7ccd42df3d6c1d7c9
Note that perfherder adds all the data together (including the baseline data) so we get an artificial increase in the power usage. :rwood, is it possible to submit two PERFHERDER_DATA entries to perfherder from one test?
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
(In reply to Greg Mierzwinski [:sparky] from comment #3)
Here's a try run for this patch: https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=d81ff5f312599d029b9389b7ccd42df3d6c1d7c9
Note that perfherder adds all the data together (including the baseline data) so we get an artificial increase in the power usage. :rwood, is it possible to submit two PERFHERDER_DATA entries to perfherder from one test?
Yes you can submit multiple PERFHERDER_DATA json blobs in any test run. Raptor can already do that i.e. submit one blob for the power info and another blob for the actual test results i.e. if running speedometer-power; however currently we have that turned off and just submitting power data as that was the initial decision.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Is this actively being worked on? Looks like it's been idle for 20 days - setting to P2 until it is active again, thanks.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
•
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Last patch failed, good one is here (phab was updated as well): https://treeherder.mozilla.org/#/jobs?repo=try&revision=9b5709745a046bc634e52dff73c825c14f38dc07
Assignee | ||
Comment 8•5 years ago
|
||
Try run for the latest patch (integrated re fixes, and removed the "multiple by 20" step): https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=dcd0588c26b26de71984f6b3e93320d4b3b6889e
Pushed by gmierz2@outlook.com: https://hg.mozilla.org/integration/autoland/rev/45d6004b3194 Run Android OS baseline test before all power tests. r=perftest-reviewers,rwood
Comment 10•5 years ago
|
||
bugherder |
Description
•