performance.evaluate
Measure web page performance against Core Web Vitals benchmarks (LCP, CLS, INP, FID, TTFB). Generates a 0-100 score, performance grade, and detailed recommendations to reduce load times and layout shifts.
Instructions
Evaluate web page performance using Core Web Vitals (LCP, FID, CLS, INP, TTFB) via Playwright PerformanceObserver API. Returns a score (0-100), grade, and optional improvement recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL for performance evaluation (SSRF validated). Must be an external URL (private IPs blocked). | |
| include_details | No | Include budget comparisons and improvement recommendations (default: false). Set to true for detailed performance analysis. | |
| budget | No | Custom performance budget. Defaults to Google recommended values: LCP < 2.5s, CLS < 0.1, FID < 100ms, TTFB < 800ms, INP < 200ms. |