LCP Element Analyzer
Open a performance trace or Lighthouse report, see which element was the Largest Contentful Paint, how its time splits into four phases, and what each fix would save.
Работает в вашем браузере. Файлы никогда не покидают устройство. Как это проверить
…
Как пользоваться
- 1Record
Save a Performance panel trace with reload, or a Lighthouse report as JSON.
- 2Open the file
Drop it on the page or press Load sample trace to try the tool first.
- 3Read the split
Check the LCP value, the element and the four phase bars.
- 4Confirm the element
Pick a different image request if the detected one is not your hero.
- 5Model fixes
Move the what-if sliders to see how much each phase must shrink.
- 6Share
Download the text report with the phases and the fix list.
Об этом инструменте
Largest Contentful Paint measures when the biggest image or text block in the viewport is painted. A good LCP is 2.5 seconds or less. Knowing the number is not enough to fix it; you need to know where the time went. Google splits LCP into four parts: time to first byte, the delay before the LCP resource starts loading, the time to download it, and the delay between the download finishing and the element painting. This analyzer reads either a trace saved from the Chrome DevTools Performance panel or a Lighthouse JSON report. From a trace it finds the main-frame navigation, the last largestContentfulPaint candidate, the document response and the network request for the LCP image, then computes the four phases. From Lighthouse it reads the LCP element snippet and the phase table in the LCP element audit or the newer insight. The result is a stacked bar, a phase table with percentages, the element and resource, its fetch priority and size, and a list of fixes chosen from which phase is too long.
Reading the phases
For an image LCP a healthy split puts roughly 40 percent in TTFB, 40 percent in download time and under 10 percent each in load delay and render delay. A long load delay means the browser found the image late: it was set in CSS, injected by JavaScript, lazy loaded or fetched at low priority. A long load time means the file is too big or served from far away. A long render delay means something blocked painting after the file arrived, such as render-blocking CSS or scripts, a hidden A/B test page or a fade-in animation. Text LCP has no resource, so its time is TTFB plus render delay, usually from fonts and CSS.
Wrong element?
If the detected resource is not the image you expected, pick another image request from the trace in the dropdown and the phases are recomputed for it. This helps when a carousel swaps slides or a background image is the real hero.
What-if sliders
Each phase has a slider that subtracts milliseconds. The new LCP and its rating update at once, which is a quick way to show a team that halving the image size alone will not reach good if the server takes 1.5 seconds.
Limits
A lab trace is one load on one device and network. Field LCP from real users is often different, so confirm fixes with Search Console or your own monitoring. The tool does not record traces and does not visit your site; very large traces take a while to parse in the browser.
Пример с решением
The sample trace of shop.example.com has two LCP candidates; the final one is hero.jpg at 2,900 ms, rated needs improvement. TTFB is 620 ms, the image request starts 830 ms later at Low priority, the 412 KB download takes 1,150 ms and painting follows 300 ms after it finished. The fixes ask for fetchpriority=high and an img tag in the HTML to remove most of the load delay, and AVIF at the displayed size to cut the download. Moving the sliders to save 700 ms of load delay and 500 ms of download gives a projected LCP of 1.70 s, inside the good range.
Коротко
- Категория: Разработка и данные
- Работает в браузере, без регистрации и загрузки.
- Введённые данные остаются на вашем устройстве.
- Доступно на английском.
- Содержание проверено:
- Официальный источник: web.dev: Largest Contentful Paint and Optimize LCP (subparts breakdown)
Часто задаваемые вопросы
How do I save a trace?
In Chrome DevTools open the Performance panel, press the reload-and-record button, wait for the load to finish, then use the save button to download the trace as JSON or compressed JSON.
Can I use PageSpeed Insights?
Not directly, since it shows a web page. In Lighthouse in DevTools you can save the report as JSON, which this tool reads. You can also type the four phase values from any source in the Enter phases tab.
Why is my load delay so large?
The browser starts the image late. Common causes are a CSS background image, a slider script that inserts the image, loading=lazy on the hero, or a low fetch priority while other files load first.
What counts as a good LCP?
2.5 seconds or less at the 75th percentile of page loads is good, over 4 seconds is poor, and anything between needs improvement.
Does it handle text LCP?
Yes. For text the load delay and load time are zero and the time is split into TTFB and render delay, which usually points at fonts or blocking CSS.
Is the trace uploaded?
No. It is parsed in this tab and never stored, since traces can include URLs, screenshots and page text.
