Firefox OS/Performance/Automation/Tools

From New wiki
Jump to navigation Jump to search

Progress

<bugzilla type="count" display="bar">

   {
       "product": "Firefox OS",
       "keywords":"perf",
       "keywords_type":"contains",
       "whiteboard":"c=automation",
       "whiteboard_type":"contains",
       "x_axis_field":"status"
   }

</bugzilla>

Performance

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

Running b2gperf

  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