Testing/Web & TV Testing Discussions/performance testing

From Web and TV IG
Jump to: navigation, search

Use Case: Browser Graphics Performance Testing

Submitter(s): Opera (Giuseppe Pascale)

Tracker Issue ID: ISSUE-57

Description: Enable benchmarking of graphics relates specifications e.g. CSS Transition, Animation or Transform is important for devices with limited capability (like TV-sets and STBs).

Support from the user agent to extract relevant metric may be needed.

Motivation: Functional testing of specifications like CSS Transform, Transition and Animation is not enough since the usability of such functionalities is heavily dependent on the browser capability of rendering the related graphic operations with acceptable performances. Being able to test such performances is then a key factor, expecially when dealing with devices with limited hw capability.

Dependencies: As User Agent support may be required, discussion with relevant W3C WGs (e.g. WebPerf) may be required

What needs to be standardized: The user agent may need to expose to Javascript metrics that can be used for benchmarking purposes.

One example is the mozilla window.mozPaintCount https://developer.mozilla.org/en-US/docs/DOM/window.mozPaintCount

Related discussion on a similar property for chromium is still open with no conclusion: http://code.google.com/p/chromium/issues/detail?id=65348 http://code.google.com/p/chromium/issues/detail?id=120796