Skip to content

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

PropertyTypeDescriptionDefined in
firstAudioToPlayback?numberFirst TTS audio chunk → audible playback start.src/core/pipeline/TurnMetrics.ts:99
firstTokenToFirstAudio?numberFirst LLM token → first TTS audio chunk.src/core/pipeline/TurnMetrics.ts:96
llmTotal?numberLLM request dispatch → generation complete.src/core/pipeline/TurnMetrics.ts:108
sttFinalToFirstToken?numberSTT final → first LLM token. Negative when an eager generation was adopted.src/core/pipeline/TurnMetrics.ts:93
turnTotalnumberSTT final → turn end (including full playback).src/core/pipeline/TurnMetrics.ts:111
voiceToVoice?numberSTT final → audible playback start — the headline “voice-to-voice” response latency the user experiences.src/core/pipeline/TurnMetrics.ts:105

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency