WebKit Bugzilla
Attachment 350172 Details for
Bug 189775
: Improve node statistics for rare data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to enable the statistics every 100 nodes
enable-node-statistics.patch (text/plain), 763 bytes, created by
Ryosuke Niwa
on 2018-09-19 23:21:00 PDT
(
hide
)
Description:
Patch to enable the statistics every 100 nodes
Filename:
MIME Type:
Creator:
Ryosuke Niwa
Created:
2018-09-19 23:21:00 PDT
Size:
763 bytes
patch
obsolete
>Index: Source/WebCore/dom/Node.cpp >=================================================================== >--- Source/WebCore/dom/Node.cpp (revision 236241) >+++ Source/WebCore/dom/Node.cpp (working copy) >@@ -311,6 +311,8 @@ > #endif > > #if DUMP_NODE_STATISTICS >+ if (liveNodeSet().size() % 100 == 0) >+ dumpStatistics(); > liveNodeSet().add(this); > #endif > } >Index: Source/WebCore/dom/Node.h >=================================================================== >--- Source/WebCore/dom/Node.h (revision 236241) >+++ Source/WebCore/dom/Node.h (working copy) >@@ -38,7 +38,7 @@ > #include <wtf/MainThread.h> > > // This needs to be here because Document.h also depends on it. >-#define DUMP_NODE_STATISTICS 0 >+#define DUMP_NODE_STATISTICS 1 > > namespace WebCore { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 189775
:
350167
| 350172