<div dir="ltr"><div dir="ltr"><div>I'll take this opportunity to mention a few other preset related tips.</div><div><ol><li>See all available presets with `./mach try --list-presets`.</li><li>You can add tasks to a preset by passing in `-q` with a fuzzy query:<br>./mach try --preset perf-chrome -q "mochitest-browser-chrome"<br></li><li>You can remove tasks from a preset by passing in -x/--and alongside -q (this will take the intersection of tasks matched by the preset + the query), e.g the following limits your push to windows:<br>./mach try --preset perf-chrome -xq "windows"</li></ol><div>(note 3 and 4 assume the preset was saved with mach try fuzzy)</div><div><br></div></div><div>The tryselect docs have more detail on this and more:</div><div><a href="https://firefox-source-docs.mozilla.org/tools/try/">https://firefox-source-docs.mozilla.org/tools/try/</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019 at 6:29 PM Brian Grinstead <<a href="mailto:bgrinstead@mozilla.com">bgrinstead@mozilla.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">While working on changes that primarily affect the browser chrome, it can be overkill to run the entirety of our perf test suites. Based on experience from testing performance for projects like XBL replacement and browser.xhtml I’ve created a new preset (in Bug 1546471) to target just the tests most likely to be affected by this type of patch. This helps conserve infrastructure resources and gives a faster turnaround time for results.<br>
<br>
It can be run with:<br>
`./mach try --preset perf-chrome`<br>
<br>
Here’s my typical workflow for doing comparisons, which works with both artifact and non-artifact builds (although both pushes should use the same "artifactiness"):<br>
1) With no commits applied, do: `./mach try --preset perf-chrome`<br>
2) Apply commits and do: `./mach try --preset perf-chrome`<br>
3) Take the revs from (1) and (2), and either enter them into <a href="https://treeherder.mozilla.org/perf.html#/comparechooser" rel="noreferrer" target="_blank">https://treeherder.mozilla.org/perf.html#/comparechooser</a> or plug them directly into a URL like: <a href="https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=1050d882a0eb4c1ba90d4ca278e9917c3ca995b2&newProject=try&newRevision=d491837c3204fbe90b329f7d3ecdf1fe2bf6f219&showOnlyImportant=1" rel="noreferrer" target="_blank">https://treeherder.mozilla.org/perf.html#/compare?originalProject=try&originalRevision=1050d882a0eb4c1ba90d4ca278e9917c3ca995b2&newProject=try&newRevision=d491837c3204fbe90b329f7d3ecdf1fe2bf6f219&showOnlyImportant=1</a>.<br>
<br>
Brian<br>
_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org" target="_blank">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
</blockquote></div>