Bug 1832893 - [mach-try-perf] Add documentation for using the alert option. r=perftest-reviewers,kshampur

This patch adds some documentation for how to use the --alert option in mach-try-perf.

Differential Revision: https://phabricator.services.mozilla.com/D186232
This commit is contained in:
Greg Mierzwinski 2023-08-31 19:28:55 +00:00
Родитель d9c50abd47
Коммит 4dd4213c22
6 изменённых файлов: 36 добавлений и 0 удалений

Двоичные данные
testing/perfdocs/generated/comment-zero-alert-number.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 210 KiB

Просмотреть файл

@ -118,6 +118,19 @@ To use mach try perf simply call ``./mach try perf``. This will open an interfac
Select the categories you'd like to run, hit enter, and wait for the tool to finish the pushes. **Note that it can take some time to do both pushes, and you might not see logging for some time.**
.. _Running Alert Tests:
Running Alert Tests
-------------------
To run all the tests that triggered a given alert, use ``./mach try perf --alert <ALERT-NUMBER>``. **It's recommended to use this when working with performance alerts.** The alert number can be found in comment 0 on any alert bug `such as this one <https://bugzilla.mozilla.org/show_bug.cgi?id=1844510>`_. As seen in the image below, the alert number can be found just above the summary table.
.. image:: ./comment-zero-alert-number.png
:alt: Comment 0 containing an alert number just above the table.
:scale: 50%
:align: center
Chrome and Android
------------------

Просмотреть файл

@ -56,6 +56,11 @@ For any additional questions, please reach out to us in the `#perftest <https://
Additional Information
----------------------
Debugging an Alert
==================
To debug an alert in CI, use ``./mach try perf --alert <ALERT-NUMBER>`` to run the tests that alerted. After running the command, the standard workflow above still applies. See :ref:`Running Alert Tests` for more information on this.
Graphs View
===========

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 210 KiB

Просмотреть файл

@ -118,6 +118,19 @@ To use mach try perf simply call ``./mach try perf``. This will open an interfac
Select the categories you'd like to run, hit enter, and wait for the tool to finish the pushes. **Note that it can take some time to do both pushes, and you might not see logging for some time.**
.. _Running Alert Tests:
Running Alert Tests
-------------------
To run all the tests that triggered a given alert, use ``./mach try perf --alert <ALERT-NUMBER>``. **It's recommended to use this when working with performance alerts.** The alert number can be found in comment 0 on any alert bug `such as this one <https://bugzilla.mozilla.org/show_bug.cgi?id=1844510>`_. As seen in the image below, the alert number can be found just above the summary table.
.. image:: ./comment-zero-alert-number.png
:alt: Comment 0 containing an alert number just above the table.
:scale: 50%
:align: center
Chrome and Android
------------------

Просмотреть файл

@ -56,6 +56,11 @@ For any additional questions, please reach out to us in the `#perftest <https://
Additional Information
----------------------
Debugging an Alert
==================
To debug an alert in CI, use ``./mach try perf --alert <ALERT-NUMBER>`` to run the tests that alerted. After running the command, the standard workflow above still applies. See :ref:`Running Alert Tests` for more information on this.
Graphs View
===========