TurnDurations
Derived phase durations in milliseconds.
Defined in: src/core/pipeline/TurnMetrics.ts:91
Derived phase durations in milliseconds.
Remarks
A duration is present only when both of its bounding timestamps were captured. sttFinalToFirstToken can be negative when the eager pipeline produced the first token before the confirmed transcript arrived — that negative number is the latency the eager pipeline saved.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
firstAudioToPlayback? | number | First TTS audio chunk → audible playback start. | src/core/pipeline/TurnMetrics.ts:99 |
firstTokenToFirstAudio? | number | First LLM token → first TTS audio chunk. | src/core/pipeline/TurnMetrics.ts:96 |
llmTotal? | number | LLM request dispatch → generation complete. | src/core/pipeline/TurnMetrics.ts:108 |
sttFinalToFirstToken? | number | STT final → first LLM token. Negative when an eager generation was adopted. | src/core/pipeline/TurnMetrics.ts:93 |
turnTotal | number | STT final → turn end (including full playback). | src/core/pipeline/TurnMetrics.ts:111 |
voiceToVoice? | number | STT final → audible playback start — the headline “voice-to-voice” response latency the user experiences. | src/core/pipeline/TurnMetrics.ts:105 |