showTurnDuration Setting
New setting showTurnDuration controls whether "Cooked for Xm Xs" messages appear.
showTurnDuration is a boolean runtime setting in Claude Code 2.1.7 that toggles whether turn-duration messages ("Cooked for Xm Xs") appear in terminal output.
How It Works
The setting controls terminal verbosity for a single runtime message type. Default value is true (shows duration). Set to false in settings.json to suppress the message:
{
"showTurnDuration": false
}
When enabled, Claude Code displays elapsed time at the end of each turn completion; when disabled, the message is omitted entirely.
What the Test Found
Status: CODE REVIEW / INCONCLUSIVE. The test (2026-01-16, version 2.1.7 features on 2.1.9) was not runtime-verified. The behavior was assessed as straightforward toggle logic and documented as expected, but no actual invocation of a prompt with the setting toggled was executed to confirm the message suppress/display behavior in practice.
Use Cases
Disabling the duration message reduces terminal noise in four scenarios: cleaner output during normal use, screencast/demo recording (timing not visible), CI pipeline logs (reduced noise), and focus modes to minimize visual distraction.
Caveats
As an unverified code review, actual runtime behavior may differ from documented expectations. The setting affects only the duration-display message, not the underlying timing calculation. Verification requires invoking a prompt in Claude Code 2.1.7+ with the setting enabled and disabled to observe presence or absence of "Cooked for" output.
- file2.1.7/tests/02-show-turn-duration/TEST-RESULTS.md
primitive_9fb5f00dadce8757f6617a69ed255199b87705613b1e2fd064d57fa75a6b679d2856ceafad6b1daa8f982493871b6ddbd38596cca8c6cf43c418ead18ebaf73e96c20b5298ac15c8825ce0dbe3a866442784d03500b31f4462ad993b6b8ae231e567e4bc8553a8ace9d69a57058b00bSigned 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.
- instance-of Skill Runtime Class
- introduces (in) 2.1.7 Test (2.1.7) Release
- verifies (in) showTurnDuration Setting — runtime test Test