getDuration()
getDuration(
graph):number
Defined in: graph-query.ts:186
Total wall-clock duration of the graph in milliseconds.
If the graph is still running, uses Date.now() as the provisional end.
Parameters
| Parameter | Type | Description |
|---|---|---|
graph | ExecutionGraph | The execution graph. |
Returns
number
Duration in milliseconds.