Closed Bug 1076935 Opened 10 years ago Closed 4 years ago

Add a test for YouTube HTML5 player power usage

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: vladan, Unassigned)

Details

(Whiteboard: [platform-rel-Youtube])

This could probably be done by auto-playing a brief video in an embed and measuring power usage with the Intel Power Gadget. We can't use Talos machines for this.

This should probably be run as another sub-test of Roberto's Energia tests https://github.com/vitillo/energia
(In reply to Vladan Djeric (:vladan) from comment #0)
> This should probably be run as another sub-test of Roberto's Energia tests
> https://github.com/vitillo/energia

I agree that this should preferably use energia and not directly PowerGadget as some thought has been spent into finding ways to reduce the variance for browser-based benchmarks. Also energia comes with confidence intervals, a dashboard and support for IPPET and BLA.
platform-rel: --- → ?
Whiteboard: [platform-rel-Youtube]
platform-rel: ? → ---

I somehow stumbled across this bug while looking for another one and want to mention that we have an in-tree tool for power usage measurements available now: https://firefox-source-docs.mozilla.org/mozbase/mozpower.html

It's implemented for MacOS machines, but it wouldn't take long to add it for other platforms. The main thing we would need is to install IPG on those machines. It's currently used to run some youtube power usage tests: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&tier=1%2C2%2C3&revision=268543e53e1b11ce0e468d985ea3777563e7b8a8&searchStr=power

I'm going to close this bug because we (i) have the ability to do power usage testing in-tree, and (ii) we have youtube power usage tests in CI running on Mac. If more platforms should be tested, re-open this bug and/or make a new bug for it in "Testing :: Performance".

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.