Claude Code v2.1.227 ·
Query profiling now needs an environment variable
Query profiling only runs when you set CLAUDE_CODE_PROFILE_QUERY, so ordinary sessions skip it.
Use it now Notable
No documentation found Internal Changes
JSON
All of v2.1.227
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PerformanceArea: what it touches
Internal ChangesKind: in v2.1.227,
What probably matters to youSection of the release
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 →