For the complete documentation index, see llms.txt. This page is also available as Markdown.

Latency and Duration Definitions

Duration and latency describe different portions of execution. Use the metric’s definition before comparing projects or diagnosing slowness.

Before you begin

Access to run timing details and the relevant analytics view.

Timing metrics

Term
Definition

Latency

Delay measured between defined points in an interaction. Time to first update and time to complete the answer are different measurements.

Duration

Elapsed time for the operation identified by the metric. Overlapping node durations should not simply be added to infer total run time.

Streaming

Delivery of incremental events or text while work is running. Updates are not the same as a completed answer.

Concurrency

Work on more than one item during overlapping periods. Completion order can differ from input order and provider rate limits still apply.

Timeout

A limit on how long a particular client or operation waits. It does not always establish that execution or an external write stopped.

Measure run duration

  1. Check the metric label, date range, and filters.

Review the reporting period and metrics before interpreting the results.

Review the reporting period and metrics before interpreting the results.

  1. Compare the overall run with the slowest node or provider operation.

  2. Inspect waiting, repeated actions, and streaming behavior before changing model settings.

You can identify which stage contributes to the delay.

Behavior and limitations

Time to the first visible update is different from time to a completed answer. A client timeout is not a duration metric for a completed run. Parallel steps can overlap, so adding node durations may exceed total elapsed time. Compare equivalent execution paths and workloads.

Inspect project analytics

Evaluation Datasets and Input Mapping

Was this helpful?