Skip to content

Add per-round performance instrumentation - #2

Merged
ethanasm merged 1 commit into
mainfrom
claude/add-performance-logging-D090v
Feb 11, 2026
Merged

Add per-round performance instrumentation#2
ethanasm merged 1 commit into
mainfrom
claude/add-performance-logging-D090v

Conversation

@ethanasm

Copy link
Copy Markdown
Owner

No description provided.

Adds timing and token tracking per conversation round to identify whether
API latency scales with context growth (validating the two-model approach).

- Extend UsageTracker with per-turn recording (addTurn/getTurns)
- Log initial prompt size, tool result sizes, and message payload growth
- Emit structured performance report showing API vs tool time per round
- Track input token growth between rounds to confirm context accumulation

Visible via --verbose or MCP_REVIEW_DEBUG=true; no impact on normal output.

https://claude.ai/code/session_01N6QHuwveRP8p6sQDAf3QtJ
@ethanasm
ethanasm merged commit c1b9945 into main Feb 11, 2026
2 checks passed
@ethanasm
ethanasm deleted the claude/add-performance-logging-D090v branch February 11, 2026 07:17
ethanasm added a commit that referenced this pull request Feb 11, 2026
…sis (#2)

Adds timing and token tracking per conversation round to identify whether
API latency scales with context growth (validating the two-model approach).

- Extend UsageTracker with per-turn recording (addTurn/getTurns)
- Log initial prompt size, tool result sizes, and message payload growth
- Emit structured performance report showing API vs tool time per round
- Track input token growth between rounds to confirm context accumulation

Visible via --verbose or MCP_REVIEW_DEBUG=true; no impact on normal output.

https://claude.ai/code/session_01N6QHuwveRP8p6sQDAf3QtJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants