Skip to content
ExplainedWeb

Chrome DevTools MCP Cut a 52-Second Wait to 2.3. Here’s What Changed

Chrome DevTools MCP and Modern Web Guidance slashed LCP in Google’s demo. We checked the source code and looked for evidence of a real-user gain.

By DC Team · · 5 min read

Chrome and Antigravity logos on cream dot-grid paper beside the headline CHROME CUT THE WAIT TO SECONDS. A browser diagram compares 52 seconds with 2.3 seconds and is labeled DEMO TEST.

Chrome DevTools MCP helped an agent take Largest Contentful Paint from 52.4 seconds to 2.3 seconds in Google’s latest demonstration. That is a striking result, with an essential qualification: the bookstore app was built with an intentional performance bottleneck. We checked its public source and the result shown in the video. We found evidence for a useful debugging demonstration, but no published real-user before-and-after measurement for this result. Chrome’s December 4 claim · Demo’s stated purpose

The practical question is whether this workflow can find the same class of mistakes in your application. The code gives developers something concrete to check before installing another agent tool: can the browser discover your biggest visible image from the HTML response?

What Chrome DevTools MCP actually measured

The Antigravity video reports these mobile results under Fast 3G and 4× CPU slowdown, around 1:20:

LCP componentBeforeAfter
Time to first byte5 ms5 ms
Resource load delay17,954 ms584 ms
Resource load duration34,409 ms1,721 ms
Element render delay24 ms28 ms
Reported total LCP52,392 ms2,339 ms

We did not reproduce these measurements. Our calculation gives 50,053 ms saved, or 95.5%. About 65% of that saving comes from shorter resource downloads. One image-priority attribute cannot explain the whole result.

We found no downloadable trace pair or exact committed patch for this run in the linked material. The result remains vendor-reported. Its bottleneck is visible in the starter code.

The demo deliberately hides its hero image from HTML

The bookshop README explicitly describes misconfigured loading priorities. This is a teaching app, so finding a large improvement is the exercise. It would be misleading to turn its percentage into an expected return for a production frontend.

We inspected revision 2e01df6. The initial HTML contains a hero <img> with an alternative description and a class, but no src. The JavaScript module supplies the image URL inside initHeroGlow().

That creates a dependency on executing application code before discovering an essential image. Google’s LCP optimization guide explains why early resource discovery matters: an image’s download can begin sooner when its URL appears in the initial document. An agent that only inspects a screenshot sees a bookstore. Inspecting the response source reveals a missing resource address.

Here is a minimal illustrative diff for that discovery problem, using the starter app’s existing PNG. It is our reconstruction of the change to review, not Google’s unpublished final patch, and it does not reproduce the complete speedup:

--- public/index.html
+++ public/index.html
-<img alt="Old Books stack on wooden table" class="hero-img">
+<img src="./assets/hero-img.png" fetchpriority="high"
+     alt="Old Books stack on wooden table" class="hero-img">
--- public/modules/hero.js
+++ public/modules/hero.js
-  const heroImg = hero.querySelector('.hero-img');
-  if (heroImg) {
-    heroImg.src = './assets/hero-img.png';
-  }

Keep the mouse-tracking behavior in the function. The image should not depend on that behavior initializing successfully. This is a small, reviewable change with a clear purpose. Confirm the rendered image still appears before expanding the patch to asset conversion or layout work.

The rest of the loading path needs attention too

The starter stylesheet contains 11 CSS imports. Its base stylesheet adds a Google Fonts import. These are independently checkable dependencies, even without the recording’s traces. They give a reviewer specific requests to look for in the network waterfall rather than a vague instruction to make CSS faster.

Google’s video report describes a broader patch: image compression, lazy loading below the fold, and removing stylesheet import waterfalls. That fits the multiple bottlenecks in the starter. It does not establish how much each individual edit contributed; answering that would require rerunning isolated changes under the same conditions. Reported fixes in the video, around 1:30

Modern Web Guidance supplies advice; DevTools supplies runtime inspection. Chrome’s version 1.0 announcement makes that division explicit. A guide can recommend a scheduling or loading pattern, but the browser must test the resulting code. Our earlier Modern Web Guidance test examined keyboard access and benchmark checks. This demonstration raises a different review decision: what evidence should accompany an agent’s performance patch?

An optimization pull request should identify the expensive request or dependency, explain which edit removes it, and include the trace that verifies the change. A confident paragraph from the agent is useful navigation for a reviewer. It cannot substitute for the artifacts it describes.

Where is the evidence for real visitors?

We found no public production URL, deployment date or real-user dataset attached to the specific 52-to-2.3-second comparison. The linked repository describes demonstration applications and local development. That leaves no identified production page on which to verify this claim against a corresponding Chrome UX Report history. Repository setup and disclaimer

Google’s own lab-versus-field explanation draws the relevant distinction. A controlled test fixes device and network conditions. Field measurements reflect visitors’ actual experiences, including their devices and locations. CrUX commonly reports a rolling 28-day distribution and its 75th percentile. A green result from one throttled session is a different observation.

For a live rollout, record the deployment time and examine your own real-user monitoring by page and device. Compare equivalent traffic, rather than treating an origin-wide number as proof about one repaired template. CrUX also has discoverability and popularity requirements. Missing public data is not evidence that a fix failed; it means that particular dataset cannot settle the question.

What to do

Start with one slow page and preserve its baseline. Record the Chrome version, viewport, network profile, CPU setting, cache state and app build. Ask the agent to identify the LCP element, save the trace, and explain which dependency delays its discovery or download. Chrome’s agent setup documentation describes using the tools to record and evaluate performance traces.

Review a narrow patch first. For a JavaScript-discovered hero, the diff above is a starting point. Then inspect competing image downloads and stylesheet dependencies. Use the same conditions for repeated before-and-after runs, keep the traces, and check that the image and surrounding layout still work. Do not accept a faster metric obtained by dropping content the page needs.

After deployment, verify whether visitors benefited. Google’s LCP guidance sets the good threshold at 2.5 seconds or less for at least 75% of visits. Make that a measured outcome on your traffic. The most useful thing to borrow from this demo is the discipline of tracing, changing and retesting, with enough evidence that another developer can check the result.