profile_page_performance
Analyze page performance by recording traces, calculating Core Web Vitals (FCP, LCP, DCL, Load), and identifying main thread blocking operations. Optionally reload pages with cache disabled to simulate cold starts.
Instructions
Record and analyze a performance trace of the page. It automatically calculates Core Web Vitals (FCP, LCP, DCL, Load) and identifies the top Long Tasks (main thread blocking operations). You can optionally reload the page with cache disabled to simulate a cold start.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_ms | No | Duration to record the trace in milliseconds. Defaults to 3000ms. Keep it between 1000 and 10000. | |
| action | No | Action to perform right after starting the trace. Can be "none" (default) or "reload". | |
| disable_cache | No | If true, disables the network cache before profiling and restores it after. Useful with action="reload" to simulate a cold start. |