xpd math-opt gate
Use xpd math-opt gate during a recorded optimization review.
Commit the fix first. The gate checks removal of a cited finding, ownership for a design fix, and project checks that passed at the baseline.
xpd math-opt gate [OPTIONS] <FIX>Arguments
Section titled “Arguments”| Argument | What it does |
|---|---|
<FIX> |
Required. |
Options
Section titled “Options”| Option | Default | What it does |
|---|---|---|
--format <FORMAT> |
Output format. Default: text on a terminal, json otherwise. Values: text, json. |
Example
Section titled “Example”$ xpd math-opt gate --help | head -n 1Gate a fix that is committed: run the checks, time `--bench` when set, count lines and compare the findings with the commit before it. Exit 1 when the fix is not kept