Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cdf7b51395a8c1682317f78f125daf97a2c4d5d3
https://github.com/WebKit/WebKit/commit/cdf7b51395a8c1682317f78f125daf97a2c4d5d3
Author: Justin Michaud <[email protected]>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
A LayoutTests/fast/dom/testing-node-statistics-expected.txt
A LayoutTests/fast/dom/testing-node-statistics.html
M Source/JavaScriptCore/CMakeLists.txt
M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
M Source/JavaScriptCore/heap/BlockDirectory.h
M Source/JavaScriptCore/heap/Heap.h
M Source/JavaScriptCore/heap/HeapIterationScope.h
M Source/JavaScriptCore/heap/MarkedBlock.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
Log Message:
-----------
Add Internals.dumpJSNodeStatistics()
https://bugs.webkit.org/show_bug.cgi?id=310593
Reviewed by Ryosuke Niwa.
This helper is useful for measuring the growth of disconnected
dom subtrees. We ran into a memory leak caused by growing caches,
so this helper will allow us to create regression tests that
can rule out growth in that area in the future.
* LayoutTests/fast/dom/testing-node-statistics-expected.txt: Added.
* LayoutTests/fast/dom/testing-node-statistics.html: Added.
* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/heap/BlockDirectory.h:
* Source/JavaScriptCore/heap/Heap.h:
* Source/JavaScriptCore/heap/HeapIterationScope.h:
* Source/JavaScriptCore/heap/MarkedBlock.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::selectorFilterHashCounts):
(WebCore::Internals::dumpJSNodeStatistics):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
Canonical link: https://commits.webkit.org/310799@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications