Measure Time Between Steps in Vercel Workflows
Key point
Vercel Workflows now supports measuring the time elapsed between steps in the trace viewer.
Details
The trace viewer in Vercel Workflows and the Workflow SDK now allows you to measure the time taken between any two steps.
Select a step, then hold Option on macOS or Alt on Windows and Linux while hovering over another step to display a measurement line.
- For sequentially executed steps, the measurement covers the time from the end of the previous step to the start of the next.
- For overlapping or nested steps, the measurement covers the difference between the start times of the two steps.
- When no step is selected, you can also check intervals across the entire timeline using the same measurement line.
This helps identify delayed starts or queue wait times when the total execution time exceeds the sum of individual step execution times. You can access this by opening a workflow execution in the Workflows tab of Vercel Observability or by running npx workflow@beta web.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.