Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Bash commands now record wall time and CPU usage

Each Bash tool command now measures elapsed time and CPU time, including for its subprocesses, and attaches the figures to its result

Group of 2 You'll notice Improvements
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
BashArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release

What

The Bash tool runs shell commands for Claude. It now measures how much time and processor work each command used:

  • Measuring: building a command now returns a cpuAccountJoin value, and the started process receives cpuTime, procCpuTime and cpuAccountWindow options. The shell command itself receives a startedAt and cpuTime option.
  • Result figures: when a command exits, its result gets a shellUsage record with wallMs (elapsed time), cpu (including whether a process was left running), procCpuMs and cpuAccount.
  • Only with a process id: the record is built only when the command has a process id.

Why

This adds resource accounting to each shell command's result. It looks like measurement for tracking. Nothing in the findings shows a change in what you see.

See this entry in the whole of v2.1.311 →

Feedback