[Webkit-unassigned] [Bug 227001] New: Too much CPU time is spent under MemoryPressureHandler::currentMemoryUsagePolicy()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 14 16:56:33 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227001
Bug ID: 227001
Summary: Too much CPU time is spent under
MemoryPressureHandler::currentMemoryUsagePolicy()
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cdumez at apple.com
CC: bfulgham at webkit.org, nham at apple.com,
simon.fraser at apple.com, zalan at apple.com
Too much CPU time is spent under MemoryPressureHandler::currentMemoryUsagePolicy().
Looking at profiles of our WebContent processes, we frequently see traces like these:
Sample Count, Samples %, Normalized CPU %, Symbol
31, 0.0%, 0.0%, WebCore::RenderLayerCompositor::cacheAcceleratedCompositingFlags() (in WebCore)
30, 0.0%, 0.0%, WTF::MemoryPressureHandler::currentMemoryUsagePolicy() (in JavaScriptCore)
30, 0.0%, 0.0%, task_info (in libsystem_kernel.dylib)
It is a decent amount of samples and shows several times per process.
We should try and minimize calls to WTF::MemoryPressureHandler::currentMemoryUsagePolicy() to reduce CPU usage.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210614/8c631098/attachment.htm>
More information about the webkit-unassigned
mailing list