Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Query profiling now needs an environment variable

Use it now
Useful2 Signal2
Performance Notable not in their notes

Query profiling only runs when you set CLAUDE_CODE_PROFILE_QUERY, so ordinary sessions skip it.

CLAUDE_CODE_PROFILE_QUERY
What

Timing marks, memory snapshots and the timeline dump only run when CLAUDE_CODE_PROFILE_QUERY is set, so ordinary sessions no longer collect them.

Details
  • Marks and memory snapshots are cleared at the start of each query.
  • The ASCII bars in the dump are built with a repeat helper.
Usage
CLAUDE_CODE_PROFILE_QUERY=1 claude
Evidence

CLAUDE_CODE_PROFILE_QUERY

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.227 →