gecko-dev/tools
Greg Mierzwinski 19b2dce6f4 Bug 1803361 - Use decision matrices for the perf-selector category expansion. r=perftest-reviewers,kshampur
This patch series replaces the existing expand_categories method with a new one that makes us of the decision matrices to build the categories to display. The category matrix contains all combinations of variants, suites, platforms, and apps, for this particular category and each element represents whether some combination (variant, suite, platform, app) can run in this category. True means it can run, False means it can't.

At the end of the category expansions phase, we go through the categories to display and apply the restriction/negation queries to them. Doing this at the end allows us to be more precise in where we apply these. Note that the tests category, and variants were updated because this was a major change. Given the new restrictions on the categories, the number of categories are dramatically reduced. This is because we strengthened the criteria for being selected from only one variant being available, to all variants being available to run.

This new method with matrices uses more code, and memory versus the previous method, but it's much more maintainable and has new features to prevent the modification of the core code of the selector. In the previous solution, we needed to modify the core code when we added new restrictions. Now, this is all defined outside of the PerfParser. It's also much easier to tell where things are happening. Before, the code was very concentrated and a small change often caused unwanted/unexpected changes.

Differential Revision: https://phabricator.services.mozilla.com/D163839
2022-12-08 22:34:35 +00:00
..
bloatview
browsertime Bug 1585039 [meta][android] Add support to raptor-browsertime for measuring cpu r=perftest-reviewers,sparky,AlexandruIonescu 2022-12-05 15:36:11 +00:00
clang-tidy Bug 1804160 for clang-tidy checker readability-simplify-boolean-expr do not activate SimplifyDeMorgan. r=dholbert 2022-12-07 07:15:33 +00:00
code-coverage Bug 1541508 - Use Services.env in tools/ r=marco 2022-11-25 19:09:11 +00:00
compare-locales Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
crashreporter No bug: apply code formatting via Lando 2022-12-02 13:58:56 +00:00
esmify Bug 1803166 - update esmify message to be a bit clearer, r=arai 2022-11-29 17:35:12 +00:00
fuzzing Bug 1798521 - Update Grizzly smoke test to run headless. r=tsmith 2022-11-28 17:27:12 +00:00
github-sync Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
jprof Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
leak-gauge
lint Bug 1793948 - Set warnings argument for mozlint parser in try, autoland and mozilla-central repositories. r=marco 2022-12-08 16:25:55 +00:00
moztreedocs Backed out 3 changesets (bug 1802924) for causing doc generate failures. CLOSED TREE 2022-11-28 19:38:56 +02:00
performance
phabricator
power Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
profiler Bug 1803480 - Fix clippy::not_unsafe_ptr_arg_deref errors. r=emilio,necko-reviewers,sylvestre,kershaw 2022-12-02 01:59:51 +00:00
quitter
rb Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
rewriting
rusttests Bug 1801738 - Use --enable-project instead of --enable-application. r=firefox-build-system-reviewers,geckoview-reviewers,calu,ahochheiden 2022-11-22 02:09:26 +00:00
sanitizer/docs
tryselect Bug 1803361 - Use decision matrices for the perf-selector category expansion. r=perftest-reviewers,kshampur 2022-12-08 22:34:35 +00:00
update-packaging
update-programs Bug 1801738 - Use --enable-project instead of --enable-application. r=firefox-build-system-reviewers,geckoview-reviewers,calu,ahochheiden 2022-11-22 02:09:26 +00:00
update-verify Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
vcs Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
mach_commands.py Bug 1790816 - Reformat tools/ with isort. r=linter-reviewers,perftest-reviewers,sparky,sylvestre DONTBUILD 2022-11-24 10:58:05 +00:00
moz.build