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

From MozillaWiki
Jump to navigation Jump to search
Line 21: Line 21:
# Install reqs with 'pip install b2gperf'
# Install reqs with 'pip install b2gperf'
# Update reqs with 'pip  install --upgrade 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
# 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



Revision as of 19:00, 11 June 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

Endurance

Integration

References