Skip to content

docs: set the throttling method once in startFlow - #33

Merged
ChristopherPHolder merged 1 commit into
mainfrom
docs/flow-wide-throttling
Nov 19, 2026
Merged

ChristopherPHolder merged 1 commit into
mainfrom
docs/flow-wide-throttling

Conversation

@ChristopherPHolder

Copy link
Copy Markdown
Collaborator

Closes #32

The setup examples now set throttlingMethod: 'devtools' once in the flow config, so the soft navigation steps take no options. throttling.e2e-test.ts already covers this setup: the page load and both kinds of soft navigation run with devtools and no step options.

  • README: usage, user-flow flow file, throttling section (flow config first, per step as the alternative), recordings
  • Getting started for Lighthouse and user-flow, and the .user-flowrc.json settings section
  • Throttling guide: "Per flow or per step", with a per-step example for flows whose page loads have to compare with PageSpeed Insights or a default Lighthouse run
  • Home page snippet
  • Limits page and upstreaming notes: "the flow sets" instead of "the step passes"

nx run-many -t lint test build -p docs passes.

The examples passed throttlingMethod to every soft navigation step. Set
it once in the flow config instead, and keep the per-step setting as the
option for flows whose page loads have to compare with simulate.

Closes #32
@ChristopherPHolder
ChristopherPHolder merged commit 66d9ac9 into main Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: set the throttling method once in startFlow

1 participant