豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Inconsistent performance results #159

@umaar

Description

@umaar

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
The correct tools are used, and relevant performance metrics are returned.

Chrome version: 142
Coding agent version: Claude code
Model version: Sonnet 4

Chat log

> get performance of https://cwv-guide.vercel.app/

⏺ I'll get the performance metrics for https://cwv-guide.vercel.app/ using the Chrome DevTools MCP tool to analyze Core Web Vitals and other performance metrics.
  ⎿  Error: No such tool available: mcp__chrome-devtools__new_page

⏺ Let me check what MCP tools are available and then use Playwright to get the performance metrics:

⏺ Bash(claude mcp list)
  ⎿  Checking MCP server health...

     chrome-devtools: npx chrome-devtools-mcp@latest --channel=canary --headless=false --isolated=true - ✓ Connected

⏺ Bash(claude tool list)
  ⎿  I see you've sent a system reminder, but I don't have a specific task to work on. How can I help you today?

⏺ Let me use the correct Chrome DevTools MCP tool:
  ⎿  Error: No such tool available: mcp__chrome-devtools__new_page

⏺ Let me check the exact Chrome DevTools MCP tool names available:

⏺ Bash(npx chrome-devtools-mcp@latest --help)
  ⎿ Options:
      -u, --browserUrl      Connect to a running Chrome instance using port forwarding. For more details see: https://developer.chrome.com/docs/devtools/remote-debugging/local-
    server.  [string]
    … +16 lines (ctrl+o to expand)


⏺ Let me create a new page using the correct Chrome DevTools MCP tool naming:
  ⎿  Error: No such tool available: mcp__chrome-devtools__new_page

⏺ Let me check what tools are actually available by looking at the .mcp.json file:

⏺ Read(.mcp.json)
  ⎿  Read 14 lines (ctrl+o to expand)

⏺ Let me use a simple approach with curl to get basic performance metrics:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions