Skip to content

← All questions

perf.budgets validates and resolves, and a nine-second page still passes. What am I missing?

Asked 8,150 views2 answers

Project yaml:

yaml
perf:
  budgets: { pageLoadMs: 4000, lcpMs: 3000, apiP95Ms: 1500 }

Environment override, and a process that asks for the gate:

yaml
processes:
  - name: release-gate
    trigger: release
    tags: '@smoke or @regression'
    gates: { minPassRate: 100, maxFlaky: 0, perfBudgets: true, a11y: true }
bash
sdods config show -p demo-shop -e staging --explain

shows perf.budgets.pageLoadMs resolving from envs/staging.yaml, so the plumbing is clearly there. But a page we know takes about nine seconds on staging goes green, and no scenario has ever failed on the gate. Is the budget compared against the wrong metric, or am I meant to add a step?

asked by Anouk de Vries238 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related