Get VM timeline events
get_timelineRetrieve recent VM timeline trace events like build, paint, layout, and GC to diagnose performance issues. Enable recording with recordFrom=true, reproduce activity, then check for recorder stalls.
Instructions
Recent VM timeline trace events (build/paint/layout/GC/etc.), most recent first. Requires timeline recording — enable with recordFrom=true (sets Dart, GC, Compiler & Embedder streams) then reproduce the activity. recordFrom=true is NOT read-only: it changes the VM's recording configuration. Check recorderLagMs/stalled in the result: the VM recorder can stall permanently once its buffer fills while still reporting its streams as recorded, so events may be historical rather than current.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| recordFrom | No | Turn on timeline recording streams before reading. |