What's wrong with this entry?
Infrastructure for generating Perfetto-compatible trace files to analyze Claude Code performance.
Feature-flagged, returns false. The PERFETTO_TRACING feature gate is disabled.
- Set
CLAUDE_CODE_PERFETTO_TRACE=1or provide a file path to enable (once feature flag is enabled) - Traces include API call timing, time-to-first-token (TTFT), token throughput metrics
- Output in Chrome Trace Event format (
trace-{sessionId}.json) - Tracks per-agent timing with parent-child relationships for nested agent calls
- Includes metadata like input/output token counts, cache hit rates, and errors
Usage (when enabled):
CLAUDE_CODE_PERFETTO_TRACE=1 claude
# or
CLAUDE_CODE_PERFETTO_TRACE=/path/to/trace.json clauder_2() at line 356811 (initialization, checks process.env.CLAUDE_CODE_PERFETTO_TRACE but guarded by ix.PERFETTO_TRACING which returns !1)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.