Firefox OS/Performance/Datazilla: Difference between revisions

Jump to navigation Jump to search
Line 11: Line 11:
* '''Endurance''': [https://github.com/rwood-moz/gaia-ui-tests/tree/gaiastress Gaia UI tests] that perform the same few interactions repeatedly in order to identify memory leaks or performance issues.
* '''Endurance''': [https://github.com/rwood-moz/gaia-ui-tests/tree/gaiastress Gaia UI tests] that perform the same few interactions repeatedly in order to identify memory leaks or performance issues.
* '''FPS''': [https://github.com/mozilla/b2gperf b2gperf] performs a smooth scroll/swipe against the app and measures the frames per second using Gecko
* '''FPS''': [https://github.com/mozilla/b2gperf b2gperf] performs a smooth scroll/swipe against the app and measures the frames per second using Gecko
=== Gaia Tests ===
* '''Startup Time''': This is gathered using the 'test-perf' make target with Gaia, and the data is submitted to Datazilla using [https://github.com/mozilla/b2gperf b2gperf].  The test-perf jobs can measure other arbitrary performance metrics that are designed by the test authors (like "rendering_WiFi_list_>_settings-panel-wifi-ready"); the job that submits data to datazilla can operate on arbitrary metric names without any changes to the datazilla infrastructure.  All the logic which runs these tests is part of Gaia; the output of 'make test-perf' includes a JSON structure which b2gperf submits to datazilla.
* '''Startup Time''': This is gathered using the 'test-perf' make target with Gaia, and the data is submitted to Datazilla using [https://github.com/mozilla/b2gperf b2gperf].  The test-perf jobs can measure other arbitrary performance metrics that are designed by the test authors (like "rendering_WiFi_list_>_settings-panel-wifi-ready"); the job that submits data to datazilla can operate on arbitrary metric names without any changes to the datazilla infrastructure.  All the logic which runs these tests is part of Gaia; the output of 'make test-perf' includes a JSON structure which b2gperf submits to datazilla.
** Test code: https://github.com/mozilla-b2g/gaia/blob/master/tests/performance/startup_events_test.js
* '''Startup Path Done''': Test which listens to a custom event of when the startup is done. Currently not implemented for every test. Triggered after the startup-path-done event.


== Triaging Regressions ==
== Triaging Regressions ==
Confirmed users
90

edits

Navigation menu