← 2.1.7 Test inconclusive · runtime-test

showTurnDuration Setting — runtime test

Hands-on runtime battle-test of showTurnDuration Setting. Result: INCONCLUSIVE.

showTurnDuration Setting is a boolean runtime toggle that controls whether Claude Code displays "Cooked for Xm Ys" duration messages at the end of each turn.

How It Works

The setting defaults to true, displaying turn duration. Set showTurnDuration: false in settings.json to suppress duration output entirely. The implementation is a straightforward toggle with no side effects on other runtime behavior.

Test Setup and Result

This runtime test (Claude Code 2.1.7 on 2.1.9) designed a test scenario requiring three steps: (1) set showTurnDuration: false, (2) execute a prompt, (3) verify no duration message appeared. However, the test was never actually runtime-executed. The test report classified itself as "CODE REVIEW" and documented expected usage patterns without empirical verification. Result: INCONCLUSIVE. Runtime proof remains absent.

Use Cases

Users cite four motivations for suppressing duration: reducing terminal noise, hiding timing during screencasts or demos, minimizing CI log volume, and removing distractions during focused work.

Caveats

No empirical runtime evidence confirms the toggle works as specified. The setting lacks integration tests. Actual behavior under various Claude Code runtime states (streaming, parallel tool calls, error recovery) remains unmeasured. A complete manual or automated test run should precede any production assumption about this feature's reliability.

Primary source
⎘ 2.1.7/tests/02-show-turn-duration/TEST-RESULTS.mdverbatim from the corpus

Test Results: showTurnDuration Setting

Feature: Added showTurnDuration setting to hide turn duration messages

Tested: 2026-01-16 Version: 2.1.7 features on 2.1.9

Feature Description

New setting showTurnDuration controls whether "Cooked for Xm Xs" messages appear.

Default: true (shows duration) Set to false to hide.

Test Result: CODE REVIEW

Setting behavior is straightforward toggle. Would need to:

  1. Set showTurnDuration: false in settings
  2. Run a prompt
  3. Verify no duration message appears

Expected Usage

// settings.json
{
  "showTurnDuration": false
}

Use Cases

  1. Cleaner output - Less visual noise in terminal
  2. Recording/demos - Don't show timing in screencasts
  3. CI output - Reduce log noise in pipelines
  4. Focus mode - Minimize distractions

Notes

Simple toggle. The "Cooked for" messages can be noisy for users who don't care about timing.

Status: CODE REVIEW

Evidence & receipt
◇ ed25519 receipt
idtest_2b3c874e50316164a0588030
alged25519
pubkey9b87705613b1e2fd064d57fa75a6b679d2856ceafad6b1daa8f982493871b6dd
siga4ae9071442ee00d13a4f7afe48baf90b34667c75878ce82fedbfc291617fbae392fc46ec75a098d5b4659b0f1f33f8dbc5ef36d1b0ed56ea0b9f14e7de4b50f

Signed with an ed25519 key held off the repo. Anyone can verify against the published public key; nobody without the secret key can forge it. Click verify: it recomputes the signature in your browser. The signature proves integrity and authorship of this exact content — not a third-party timestamp or that the underlying claim is objectively true. signedAt is when the @f3/attest pipeline ran, not when the work happened; the evidence refs carry the source dates.

Connected