[webkit-changes] [WebKit/WebKit] f3204e: [Linux] Web Inspector: add memory usage of images ...

Przemyslaw Gorszkowski noreply at github.com
Fri Apr 21 05:10:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3204eb2dfb23d159bedc68378578043b1c21d16
      https://github.com/WebKit/WebKit/commit/f3204eb2dfb23d159bedc68378578043b1c21d16
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp

  Log Message:
  -----------
  [Linux] Web Inspector: add memory usage of images in memory timeline
https://bugs.webkit.org/show_bug.cgi?id=253873

Reviewed by Carlos Garcia Campos.

This fix extends what is reported in memory timeline(web inspector) of
memory usage with data for images(only for linux).

* Source/WebCore/page/ResourceUsageThread.cpp:
(WebCore::ResourceUsageThread::setTotalLayerInfo):
* Source/WebCore/page/ResourceUsageThread.h:
* Source/WebCore/page/linux/ResourceUsageThreadLinux.cpp:
(WebCore::ResourceUsageThread::platformCollectMemoryData):
* Source/WebCore/rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayers):

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




More information about the webkit-changes mailing list