TestEngineering/Performance/Raptor: Difference between revisions

Copied instructions from https://wiki.mozilla.org/Performance_sheriffing/Raptor
(Copied instructions from https://wiki.mozilla.org/Performance_sheriffing/Raptor)
Line 699: Line 699:


Same as on Firefox desktop above, but use the Google Chrome console: View ==> Developer ==> Developer Tools.
Same as on Firefox desktop above, but use the Google Chrome console: View ==> Developer ==> Developer Tools.
== Raptor on Mobile projects (Fenix, Reference-Browser) ==
=== Add new tests ===
Raptor tests are run on every push to master on the following repositories:
* https://github.com/mozilla-mobile/reference-browser/ ([https://treeherder.mozilla.org/#/jobs?repo=reference-browser Treeherder view])
* https://github.com/mozilla-mobile/fenix/ ([https://treeherder.mozilla.org/#/jobs?repo=fenix Treeherder view])
Tests are defined differently from what exists in mozilla-central. Taskcluster payloads are expressed in Python function in:
* https://github.com/mozilla-mobile/reference-browser/blob/f2ae31e23e36a749b937ff9728c28d53760242eb/automation/taskcluster/lib/tasks.py#L478-L616
* https://github.com/mozilla-mobile/fenix/blob/8928822e99ff09ab45bce8ebab63aead10b7ebde/automation/taskcluster/lib/tasks.py#L455-L561
Once defined, you must call these functions:
* https://github.com/mozilla-mobile/reference-browser/blob/f2ae31e23e36a749b937ff9728c28d53760242eb/automation/taskcluster/decision_task.py#L83-L96
* https://github.com/mozilla-mobile/fenix/blob/8928822e99ff09ab45bce8ebab63aead10b7ebde/automation/taskcluster/decision_task.py#L82-L91
If you want to test your changes on a PR, before they land, you need to apply a patch like this one: https://github.com/mozilla-mobile/reference-browser/commit/dfc757ac6a6ed2981909cc70573408d8f89bed0e
For more information, please reach out to :jlorenzo or :mhentges in #cia
Confirmed users
213

edits