check_threshold
Validate web performance against set thresholds to enforce quality gates in CI pipelines. Fails when metrics exceed Google's poor boundaries.
Instructions
Pass/fail check against performance thresholds. Use for CI quality gates. Defaults use Google's 'poor' thresholds — only fails if metrics are genuinely bad.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check | |
| device | No | Device emulation (default: mobile) | |
| thresholds | No | Custom thresholds. Defaults to Google's 'poor' boundary. |