megachangelog
Feature

Query Speed Insights from the Vercel CLI

You can now query Speed Insights datapoints directly through the Vercel CLI using the vercel metrics command to pull Web Vitals and page performance metrics based on real user traffic measurements. This enables coding agents to analyze performance data and answer questions about metric regressions, regional speed performance, and device-specific comparisons.

You can now query Speed Insights datapoints directly through the Vercel CLI.

Using the command, you can pull core (LCP, INP, CLS) and other page performance metrics (FCP, TTFB) based on client-side measurements from real user traffic.vercel metricsWeb Vitals

By providing a coding agent access to the CLI, an agent can answer questions such as:

For more details on how to use the CLI command and a complete list of supported metrics, dimensions, filters, and query options, explore the .documentation

Read more

  • Which pages' INP have regressed since last week?

  • How is the perceived speed of my home page in Asia?

  • Compare the CLS of the dashboard between mobile and desktop.

clispeed-insightsperformancemetricsanalyticsweb-vitals

Source: original entry ↗