RESOLVED FIXED 100866
Web Inspector: NMI instrument ShadowRoot. It gives us ~400k on plus.google.com
https://bugs.webkit.org/show_bug.cgi?id=100866
Summary Web Inspector: NMI instrument ShadowRoot. It gives us ~400k on plus.google.com
Ilya Tikhonovsky
Reported 2012-10-31 09:42:52 PDT
EOM
Attachments
Patch (17.15 KB, patch)
2012-10-31 10:11 PDT, Ilya Tikhonovsky
no flags
Patch (28.48 KB, patch)
2012-11-02 00:23 PDT, Ilya Tikhonovsky
no flags
for mac bot (30.02 KB, patch)
2012-11-02 01:30 PDT, Ilya Tikhonovsky
no flags
Ilya Tikhonovsky
Comment 1 2012-10-31 10:11:50 PDT
Early Warning System Bot
Comment 2 2012-10-31 10:21:23 PDT
Early Warning System Bot
Comment 3 2012-10-31 10:23:18 PDT
Build Bot
Comment 4 2012-10-31 10:49:07 PDT
Build Bot
Comment 5 2012-10-31 11:32:17 PDT
EFL EWS Bot
Comment 6 2012-10-31 11:34:07 PDT
Yury Semikhatsky
Comment 7 2012-11-01 00:28:49 PDT
Comment on attachment 171678 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171678&action=review > Source/WebCore/ChangeLog:9 > + I put instrumentation code for ElementRareData to Element.cpp and NodeRareData to Node.cpp We don't usually put implementation of one class into .cpp of another so could you put the instrumentation into appropriate .cpp files? > Source/WebCore/dom/DocumentOrderedMap.cpp:167 > + MemoryClassInfo info(memoryObjectInfo, this); Is WebCoreMemoryTypes::DOM missing?
Ilya Tikhonovsky
Comment 8 2012-11-02 00:23:21 PDT
Ilya Tikhonovsky
Comment 9 2012-11-02 00:41:56 PDT
(In reply to comment #7) > (From update of attachment 171678 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=171678&action=review > > > Source/WebCore/ChangeLog:9 > > + I put instrumentation code for ElementRareData to Element.cpp and NodeRareData to Node.cpp > > We don't usually put implementation of one class into .cpp of another so could you put the instrumentation into appropriate .cpp files? done > > > Source/WebCore/dom/DocumentOrderedMap.cpp:167 > > + MemoryClassInfo info(memoryObjectInfo, this); > > Is WebCoreMemoryTypes::DOM missing? This map looks like a common container.
Yury Semikhatsky
Comment 10 2012-11-02 01:04:32 PDT
Comment on attachment 171994 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=171994&action=review > Source/WebCore/dom/Element.cpp:82 > +#include <wtf/MemoryInstrumentation.h> No need to include it as it is already included in WebCoreMemoryInstrumentation.
Yury Semikhatsky
Comment 11 2012-11-02 01:05:27 PDT
(In reply to comment #9) > (In reply to comment #7) > > > > > Source/WebCore/dom/DocumentOrderedMap.cpp:167 > > > + MemoryClassInfo info(memoryObjectInfo, this); > > > > Is WebCoreMemoryTypes::DOM missing? > > This map looks like a common container. It should belong to the DOM domain by default which can be overriden when it is not so.
Build Bot
Comment 12 2012-11-02 01:12:33 PDT
Ilya Tikhonovsky
Comment 13 2012-11-02 01:30:20 PDT
Created attachment 172004 [details] for mac bot
Ilya Tikhonovsky
Comment 14 2012-11-02 02:11:46 PDT
Note You need to log in before you can comment on or make changes to this bug.