Timer
Timer measures how long part of your workflow takes, using a start and a stop.
Screenshot placeholder
When to use it
Use it to find slow steps. Place one Timer before the step and another after it.
Settings
| Field | What it does | Notes |
|---|---|---|
| Action | What this node does | Start Timer (default), Stop Timer (returns elapsed_ms) or Lap (returns elapsed_ms without stopping) |
| Timer name | Names the timer | Default timer_1. Hint: use the same name for start/stop pairs to correlate them. Placeholder api_call_timer |
| Output key | Where the elapsed time is stored | Default elapsed_ms. Used for stop and lap only |
Inputs and outputs
- One input at the top and one output at the bottom.
- Stop and Lap return the time in milliseconds under the Output key.
Example
Illustrative. Add a Timer set to Start Timer named api_call_timer before an HTTP step. Add another named api_call_timer set to Stop Timer after it. Then send elapsed_ms to a Log node.
Tips
- Use the same Timer name for the start and the stop.
- Use Lap to read the time part-way without ending the timer.