Firefox OS/Performance/Automation/Tools: Difference between revisions
< Firefox OS | Performance | Automation
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
** An external Python tool maintained by the [[Auto-tools/The_Ateam|A-team]]. | ** An external Python tool maintained by the [[Auto-tools/The_Ateam|A-team]]. | ||
** Source code and documentation are hosted on github at https://github.com/mozilla/b2gperf | ** Source code and documentation are hosted on github at https://github.com/mozilla/b2gperf | ||
== Running B2g Perf == | |||
# Install reqs with 'pip install b2gperf' | |||
# Update reqs with 'pip install --upgrade b2gperf' | |||
# 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 | |||
* Gaia Test Framework aka '''make test-perf''' | * Gaia Test Framework aka '''make test-perf''' |
Revision as of 17:50, 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.
- 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 B2g Perf
- Install reqs with 'pip install b2gperf'
- Update reqs with 'pip install --upgrade b2gperf'
- 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
- Gaia Test Framework aka make test-perf
- In-tree testing framework for gaia maintained by the FirefoxOS Performance team.
- Documented on MDN at https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_performance_tests
- Contains app specific tests
- Dialer Perf Tests
- See <APP_NAME>/test/performance folders within the Gaia Repo for more performance tests.