For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test page performance

Assert a Lighthouse performance score on a page in your Flow.

Performance Checks score the page with Lighthouse while the journey is already open. Use them on key screens so slow loads fail the Run the same way a broken button would.

Use the Flow Builder for this walkthrough.

Add a Performance Check

1

Open the page

Start with Open. Continue with Touch and other steps until the screen you care about is showing.

2

Add Performance

From the Validator family, add Performance.

  1. Choose a Comparison Type. The default is greater than or equal to.

  2. Set Value to the score your team expects. The default is 85.

3

Run and read the result

Start the Run. Open the Performance step in the result to see the score against your threshold.

Pro tip: Put Performance after the page has finished loading and after any login or consent steps. A score on a half-loaded screen is hard to trust.

You can add SEO, Accessibility, and other Lighthouse Validators on the same screen when you want several scores in one journey. See Add accessibility checks and Test SEO.

Last updated