Firefox OS/Performance/Automation/Tools: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 28: Line 28:
** In-tree testing framework for gaia maintained by the [[FirefoxOS/Performance|FirefoxOS Performance]] team.
** In-tree testing framework for gaia maintained by the [[FirefoxOS/Performance|FirefoxOS Performance]] team.
** Documented on MDN at https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_performance_tests
** Documented on MDN at https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_performance_tests
** Contains app specific tests
** Contains app-specific tests
*** [https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/dialer/test/performance Dialer Perf Tests]
*** [https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/dialer/test/performance Dialer Perf Tests]
*** See ''<APP_NAME>/test/performance'' folders within the [https://github.com/mozilla-b2g/gaia Gaia Repo] for more performance tests.
*** See ''<APP_NAME>/test/performance'' folders within the [https://github.com/mozilla-b2g/gaia/tree/master/apps Gaia Repo] for more performance tests.


* [[/FPS|FPS via Eideticker]]
* [[/FPS|FPS via Eideticker]]

Revision as of 06:19, 18 July 2014

Progress

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 400 [1] => Bad Request ) ) 1


Performance

There are two automated performance testing tools for Gaia; b2gperf and make test-perf. Both use marionette.

Running B2g Perf

  1. Install reqs with 'pip install b2gperf'
  2. Update reqs with 'pip install --upgrade b2gperf'
  3. run 'adb forward tcp:2828 tcp:2828' - This lets marionette connect to the device
  4. Run b2g perf with 'b2gperf --delay=10 --reset --iterations=30 AppNameHere'. For example, to run settings, run 'b2gperf --delay=10 --reset --iterations=30 Settings'. CASE SENSITIVE

Make test perf

Endurance

Integration

References