[mach-try-perf] Enable triggering a specific test through mach try perf
Categories
(Testing :: Performance, task, P2)
Tracking
(firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: sparky, Assigned: sparky)
References
Details
(Whiteboard: [fxp])
Attachments
(3 files)
This bug is for making it possible to trigger specific tests through mach try perf (with or without --alert). By specific test, I mean something like amazon
.
Updated•7 months ago
|
Assignee | ||
Comment 1•7 months ago
|
||
This patch adds the abiltiy to run specific tests through mach try perf using the --tests
option. When a test is specified, we search through the full-task-graph to find all tasks that run the test based on the command that is running in the task. Test finders are implemented on a per-suite basis to determine if the task contains the requested test. These are then used to (1) create new categories that only run this specific test, and (2) find all tasks that run the requested test. The query for the category is based on the longest common substring between all the tasks that were found, and some heuristics modifying the task label are needed within the test-finders to ensure that we find unique strings that only run the requested tasks/test. These tasks, and categories are then used within the other standard options like the category fuzzy view, the show-all view, and when running specific tests in an alert.
Updated•7 months ago
|
Assignee | ||
Comment 2•7 months ago
|
||
This patch adds tests for the --tests option. It includes a sample full-task-graph for the task finding stage.
Depends on D216932
Assignee | ||
Comment 3•7 months ago
|
||
This patch adds some documentation about the --tests option, and also updates a bit of the other documentation for mach-try-perf.
Depends on D216933
Comment 5•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/74f136cc9208
https://hg.mozilla.org/mozilla-central/rev/11e9ea5824ba
https://hg.mozilla.org/mozilla-central/rev/a34bfe3d947d
Description
•