Skip to content

LatencyBreakdown

Stable

Shows where the time went in a voice reply or a whole call, names the slowest stage in words and lists the turns that were too slow.

Also known as latency, timing breakdown, performance

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

One reply

Response time

Your team's target: 800 ms

This reply

990 ms

Over target by 190 ms

Most time: model, 520 ms (53% of the reply)

Response time: time per stage in milliseconds
StageTimeShare
End of speech180 ms18%
Speech to text90 ms9%
Model (slowest)520 ms53%
Voice140 ms14%
Network60 ms6%

The model took most of the time, so it is named first. The reply was over the team's target.

When to use it

Helps the people who run a voice agent see why it felt slow, and which part to fix first, without reading a chart.

Made of: Heading and target · Total · Percentiles · Slowest stage line · Stacked bar · Stage table · Slow turns list

Use it for

  • The detail page of one call in an agent dashboard.
  • Checking one reply that felt slow while testing an agent.
  • Comparing a change to the model or voice against your team's target.

Not for

  • Showing people on the call that the assistant is working: use VoicePanel.
  • A single number on a dashboard: use StatTile.
  • Response times over days or weeks: use LineChart.

Do and avoid

Response time

Your team's target: 800 ms

This reply

990 ms

Over target by 190 ms

Most time: model, 520 ms (53% of the reply)

Response time: time per stage in milliseconds
StageTimeShare
End of speech180 ms18%
Speech to text90 ms9%
Model (slowest)520 ms53%
Voice140 ms14%
Network60 ms6%
Do. Each stage gets its share, so the slow part stands out.

Reply time

990 ms

Avoid. One total says it was slow, but not which part to fix.

Do

  • Name the slowest stage. A total alone does not say what to fix.
  • Measure time to the first real answer, so a filler word cannot hide a slow reply.
  • Link slow turns to the recording, so people can hear what happened.

Avoid

  • Do not colour stages lime. Lime marks the AI, and this is about time.
  • Do not use amber for a slow turn. Nobody has to act on one call.
  • Do not show the target as a law. It is a goal your team set.

On a phone

  • On a phone the stacked bar is hidden and each table row shows its own small bar, so the split reads as a list.
  • Slow turns are full-width buttons with a 44px tap area on touch screens.
  • Padding shrinks a step below 640px wide so the numbers keep their room.

Seen in products

  • Retell shows end-to-end P50, P90 and P99 per call, split into speech recognition, model, voice, knowledge base and speech-to-speech.
  • Vapi shows turn count, average turn latency and a split by transcriber, endpointing, model, voice and transport, with a table per turn.
  • Twig suggests tracking time to the first real answer, so filler words cannot hide a slow reply.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started