USWDS Futures LabIndependent research and comparison pilot

Documentation

Performance evidence

The lab records a small, controlled performance sample for each baseline/experiment fixture pair. It is evidence about the cost of the authored fixture, not a field measurement and not a Lighthouse score.

What is measured

Each fixture/<component>-<baseline|experiment>.html route is loaded three times by default in a new browser context, at a 1280 × 850 viewport, light colour scheme, with 4× CPU throttling. Network is localhost with no shaping.

For each run the collector records:

The median and min–max for three runs are shown in the evaluation workspace. Raw per-run values are in performance.json in the evidence run.

Hard budgets vs timing warnings

data/performance-budgets.json defines hard ceilings for transfer size, request count, and DOM elements, plus warning thresholds for timing metrics.

Comparison

For each component the baseline/experiment pair is compared by:

The workspace labels all timing values as observations and links the raw JSON and budgets.

Why not Lighthouse or Sitespeed.io yet

Lighthouse CI and sitespeed.io are useful, but they would duplicate the lab's existing axe runs and introduce a much heavier execution model:

The next step, if needed, is a separate scheduled Lighthouse CI job with narrow resource/DOM budgets and raw LHR artifacts, not an accessibility score. Sitespeed.io is only worth adopting if filmstrip/video, HAR analysis, or long-term trend dashboards become real requirements. The current method is documented above.

Limits

Back to methodology · Source lock