Title: [257898] trunk
- Revision
- 257898
- Author
- wenson_hs...@apple.com
- Date
- 2020-03-04 19:33:47 -0800 (Wed, 04 Mar 2020)
Log Message
Add system trace points around display list replay
https://bugs.webkit.org/show_bug.cgi?id=208616
Reviewed by Simon Fraser.
Source/WebCore:
Surround DisplayList::Replayer::replay with trace points.
* platform/graphics/displaylists/DisplayListReplayer.cpp:
(WebCore::DisplayList::Replayer::replay):
Source/WTF:
Add DisplayListReplayStart and DisplayListReplayEnd.
* wtf/SystemTracing.h:
Tools:
Add a new "Display list replay" trace point.
* Tracing/SystemTracePoints.plist:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (257897 => 257898)
--- trunk/Source/WTF/ChangeLog 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Source/WTF/ChangeLog 2020-03-05 03:33:47 UTC (rev 257898)
@@ -1,3 +1,14 @@
+2020-03-04 Wenson Hsieh <wenson_hs...@apple.com>
+
+ Add system trace points around display list replay
+ https://bugs.webkit.org/show_bug.cgi?id=208616
+
+ Reviewed by Simon Fraser.
+
+ Add DisplayListReplayStart and DisplayListReplayEnd.
+
+ * wtf/SystemTracing.h:
+
2020-03-04 Per Arne Vollan <pvol...@apple.com>
[Cocoa] Add enable flag to disable direct mode for preferences
Modified: trunk/Source/WTF/wtf/SystemTracing.h (257897 => 257898)
--- trunk/Source/WTF/wtf/SystemTracing.h 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Source/WTF/wtf/SystemTracing.h 2020-03-05 03:33:47 UTC (rev 257898)
@@ -88,6 +88,8 @@
DispatchTouchEventsEnd,
ParseHTMLStart,
ParseHTMLEnd,
+ DisplayListReplayStart,
+ DisplayListReplayEnd,
WebKitRange = 10000,
WebHTMLViewPaintStart,
Modified: trunk/Source/WebCore/ChangeLog (257897 => 257898)
--- trunk/Source/WebCore/ChangeLog 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Source/WebCore/ChangeLog 2020-03-05 03:33:47 UTC (rev 257898)
@@ -1,3 +1,15 @@
+2020-03-04 Wenson Hsieh <wenson_hs...@apple.com>
+
+ Add system trace points around display list replay
+ https://bugs.webkit.org/show_bug.cgi?id=208616
+
+ Reviewed by Simon Fraser.
+
+ Surround DisplayList::Replayer::replay with trace points.
+
+ * platform/graphics/displaylists/DisplayListReplayer.cpp:
+ (WebCore::DisplayList::Replayer::replay):
+
2020-03-04 Doug Kelly <do...@apple.com>
Crash in SVGElement::removeEventListener with symbol element
Modified: trunk/Source/WebCore/platform/graphics/displaylists/DisplayListReplayer.cpp (257897 => 257898)
--- trunk/Source/WebCore/platform/graphics/displaylists/DisplayListReplayer.cpp 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Source/WebCore/platform/graphics/displaylists/DisplayListReplayer.cpp 2020-03-05 03:33:47 UTC (rev 257898)
@@ -29,6 +29,7 @@
#include "DisplayListItems.h"
#include "GraphicsContext.h"
#include "Logging.h"
+#include <wtf/SystemTracing.h>
#include <wtf/text/TextStream.h>
namespace WebCore {
@@ -44,6 +45,7 @@
std::unique_ptr<DisplayList> Replayer::replay(const FloatRect& initialClip, bool trackReplayList)
{
+ TraceScope tracingScope(DisplayListReplayStart, DisplayListReplayEnd);
LOG_WITH_STREAM(DisplayLists, stream << "\nReplaying with clip " << initialClip);
UNUSED_PARAM(initialClip);
Modified: trunk/Tools/ChangeLog (257897 => 257898)
--- trunk/Tools/ChangeLog 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Tools/ChangeLog 2020-03-05 03:33:47 UTC (rev 257898)
@@ -1,3 +1,14 @@
+2020-03-04 Wenson Hsieh <wenson_hs...@apple.com>
+
+ Add system trace points around display list replay
+ https://bugs.webkit.org/show_bug.cgi?id=208616
+
+ Reviewed by Simon Fraser.
+
+ Add a new "Display list replay" trace point.
+
+ * Tracing/SystemTracePoints.plist:
+
2020-03-04 Alex Christensen <achristen...@webkit.org>
Call globalObjectIsAvailableForFrame before evaluating _javascript_ in newly created worlds
Modified: trunk/Tools/Tracing/SystemTracePoints.plist (257897 => 257898)
--- trunk/Tools/Tracing/SystemTracePoints.plist 2020-03-05 03:33:22 UTC (rev 257897)
+++ trunk/Tools/Tracing/SystemTracePoints.plist 2020-03-05 03:33:47 UTC (rev 257898)
@@ -327,6 +327,18 @@
</dict>
<dict>
<key>Name</key>
+ <string>Display list replay</string>
+ <key>Type</key>
+ <string>Interval</string>
+ <key>Component</key>
+ <string>47</string>
+ <key>CodeBegin</key>
+ <string>5038</string>
+ <key>CodeEnd</key>
+ <string>5039</string>
+ </dict>
+ <dict>
+ <key>Name</key>
<string>Paint WebHTMLView</string>
<key>Type</key>
<string>Interval</string>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes