CrUX field data should include rating if result is good or bad
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- devtools, performance
Research direction
Start by locating where the MCP formats CrUX field metrics and how the corresponding Chrome DevTools UI evaluates them. Compare the two paths for good, needs-improvement, and bad results, then verify that MCP output uses the same evaluation as the UI for the reported field metrics.
Written by the indexing model from the issue text.
Description
Description of the bug
I was doing a performance audit of a page. Field data was used and Gemini CLI with 3.1 was working through the performance insights. So far, so good. Here is the relevant output from the perf insight that gemini then uses to drive its further debugging:
Metrics (lab / observed): │
│ - LCP: 482 ms, event: (eventKey: r-47321, ts: 508929901115), nodeId: 671 │
│ - LCP breakdown: │
│ - TTFB: 30 ms, bounds: {min: 508929418828, max: 508929448856} │
│ - Load delay: 228 ms, bounds: {min: 508929448856, max: 508929676926} │
│ - Load duration: 2 ms, bounds: {min: 508929676926, max: 508929679270} │
│ - Render delay: 222 ms, bounds: {min: 508929679270, max: 508929901115} │
│ - CLS: 0.17, event: (eventKey: s-89564, ts: 508931182251) │
│ Metrics (field / real users): │
│ - LCP: 1404 ms (scope: url) │
│ - LCP breakdown: │
│ - TTFB: 209 ms (scope: url) │
│ - Load delay: 752 ms (scope: url) │
│ - Load duration: 40 ms (scope: url) │
│ - Render delay: 345 ms (scope: url) │
│ - INP: 65 ms (scope: url) │
│ - CLS: 0.02 (scope: url) │
│ - The above data is from CrUX–Chrome User Experience Report. It's how the page performs for real users. │
│ - The values shown above are the p75 measure of all real Chrome users │
│ - The scope indicates if the data came from the entire origin, or a specific url │
│ - Lab metrics describe how this specific page load performed, while field metrics are an aggregation of results from real-world users. Best practice is to prioritize │
│ metrics that are bad in field data. Lab metrics may be better or worse than fields metrics depending on the developer's machine, network, or the actions performed │
│ while tracing.
Notice the difference in local to field metrics, but both are considered "Good". They are also shown as "Good" in DevTools UI.
The AI agent categorized the field metrics as "Needs improvement" though.
===> I think it would be good to add an evaluation to the field metrics, so an agent can focus on the most important things. LEt's make sure DevTools UI and DevTools MCP agree on the evaluation
Reproduction
- Geminini CLI running on Gemini 3.1 auto mode
- Prompt
analyze the lcp of heise.de. make sure to clear the cache before doing it.
Expectation
No response
MCP configuration
No response
Chrome DevTools MCP version
0.18
Chrome version
No response
Coding agent version
No response
Model version
No response
Chat log
No response
Node version
No response
Operating system
None
Extra checklist
- I want to provide a PR to fix this bug
- Dominant language
- TypeScript
- Stars
- 59.8k
- Forks
- 4.8k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 162
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ChromeDevTools/chrome-devtools-mcp
-
feature
Difficulty 1/5 Under an hour Newbie friendliness 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Maintainers usually reply within 1 day
-
`evaluate_script` `sourcePath` http(s) URLs are mangled into `file://` pathsMay be free again A pull request for this issue was closed without being merged. Opencollecting-feedback
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ChromeDevTools/chrome-devtools-mcp#3453 · 3 comments ·
Maintainers usually reply within 1 day
-
collecting-feedback feature
Difficulty 2/5 Half a day Newbie friendliness 76/100
ChromeDevTools/chrome-devtools-mcp#3225 · 3 comments ·
Maintainers usually reply within 1 day
-
confirmed p3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ChromeDevTools/chrome-devtools-mcp#2947 · 1 comment ·
Maintainers usually reply within 1 day
-
Project Migration: Moving to devtools-frontendPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 1/100
ChromeDevTools/chrome-devtools-mcp#3648 ·
Maintainers usually reply within 1 day
All issues in ChromeDevTools/chrome-devtools-mcp
Similar issues
-
bug from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nightly-labs/openbot#21303 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ADORSYS-GIS/CoopData#282 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
OHDSI/Data2Evidence#3816 ·
Maintainers usually reply within 3 days
-
`ovsx verify` fails for a version older than the 100 newest of an extensionPossibly taken @trivikr claimed this today. Opencli
Difficulty 2/5 1-3 hours Newbie friendliness 81/100
eclipse-openvsx/openvsx#2482 · 2 comments ·
Maintainers usually reply within 1 day
-
bug builder-vite hmr sev:S3
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
storybookjs/storybook#37965 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day