Group of 2 Under the hood
New telemetry breaks down how long messages take to enqueue and turns take to start, using new frame-timing data
What
When a message is delivered, Claude Code now records frameTiming (a received and an enqueued wall-clock timestamp) on the command.
- The
cli_user_message_enqueuedtelemetry event gains new fields:parse_to_enqueue_ms,dedup_ms,flag_settle_ms,receive_hook_ms, and, when attachments are present,attachments_ms,attachment_count, andinlined_images, plusparked_mswhen a park timestamp was recorded. - A new telemetry event,
cli_turn_started, is emitted when a turn is dispatched, including the turn's uuid, the batch size, andenqueue_to_start_ms(the time from when the turn was enqueued to when it actually started), whenever frame timing info is available.
Why
This gives a more detailed breakdown of where time goes between a message arriving and a turn actually starting, which helps diagnose latency in message handling.