Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0c1b36d5c3e8d8ba424599032e03bae9446829cf
      
https://github.com/WebKit/WebKit/commit/0c1b36d5c3e8d8ba424599032e03bae9446829cf
  Author: Simon Fraser <[email protected]>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M Source/WebCore/page/LargestContentfulPaintData.cpp

  Log Message:
  -----------
  [LCP] Don't track loadTime for data URIs
https://bugs.webkit.org/show_bug.cgi?id=301295
rdar://163213487

Reviewed by Ryan Reno.

In Speedometer, there's some overhead in `didLoadImage` for many elements with
data URI background images. Tracking `loadTime` for data URIs is not useful, so 
don't
bother tracking them. We'll just use the paint time as the loadTime.

Tested by WPT.

* Source/WebCore/page/LargestContentfulPaintData.cpp:
(WebCore::LargestContentfulPaintData::didLoadImage):

Canonical link: https://commits.webkit.org/301988@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to