Firefox OS/Performance/Automation/Tools
(Redirected from FirefoxOS/Performance/Automation/Tools)
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.
- b2gperf
- An external Python tool maintained by the A-team.
- Source code and documentation are hosted on github at https://github.com/mozilla/b2gperf
Running b2gperf
- Install reqs with 'pip install b2gperf'
- Update reqs with 'pip install --upgrade b2gperf'
- run 'adb forward tcp:2828 tcp:2828' - This lets marionette connect to the device
- 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
- The in-tree Gaia testing framework maintained by the FirefoxOS Performance team and documented on MDN.
- Code
- Tests