Title: [250319] trunk/Source/WebCore
- Revision
- 250319
- Author
- [email protected]
- Date
- 2019-09-24 14:33:05 -0700 (Tue, 24 Sep 2019)
Log Message
Stop sampling PageCache-related AggD data
https://bugs.webkit.org/show_bug.cgi?id=202161
Reviewed by Geoffrey Garen.
Stop sampling PageCache-related AggD data to make it more actionable.
* history/PageCache.cpp:
(WebCore::logPageCacheFailureDiagnosticMessage):
(WebCore::canCacheFrame):
(WebCore::canCachePage):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (250318 => 250319)
--- trunk/Source/WebCore/ChangeLog 2019-09-24 21:27:39 UTC (rev 250318)
+++ trunk/Source/WebCore/ChangeLog 2019-09-24 21:33:05 UTC (rev 250319)
@@ -1,3 +1,17 @@
+2019-09-24 Chris Dumez <[email protected]>
+
+ Stop sampling PageCache-related AggD data
+ https://bugs.webkit.org/show_bug.cgi?id=202161
+
+ Reviewed by Geoffrey Garen.
+
+ Stop sampling PageCache-related AggD data to make it more actionable.
+
+ * history/PageCache.cpp:
+ (WebCore::logPageCacheFailureDiagnosticMessage):
+ (WebCore::canCacheFrame):
+ (WebCore::canCachePage):
+
2019-09-24 Sihui Liu <[email protected]>
Stop refing UniqueIDBDatabaseTransaction in callbacks
Modified: trunk/Source/WebCore/history/PageCache.cpp (250318 => 250319)
--- trunk/Source/WebCore/history/PageCache.cpp 2019-09-24 21:27:39 UTC (rev 250318)
+++ trunk/Source/WebCore/history/PageCache.cpp 2019-09-24 21:33:05 UTC (rev 250319)
@@ -61,7 +61,7 @@
static inline void logPageCacheFailureDiagnosticMessage(DiagnosticLoggingClient& client, const String& reason)
{
- client.logDiagnosticMessage(DiagnosticLoggingKeys::pageCacheFailureKey(), reason, ShouldSample::Yes);
+ client.logDiagnosticMessage(DiagnosticLoggingKeys::pageCacheFailureKey(), reason, ShouldSample::No);
}
static inline void logPageCacheFailureDiagnosticMessage(Page* page, const String& reason)
@@ -167,7 +167,7 @@
PCLOG(" -The document cannot suspend its active DOM Objects");
for (auto* activeDOMObject : unsuspendableObjects) {
PCLOG(" - Unsuspendable: ", activeDOMObject->activeDOMObjectName());
- diagnosticLoggingClient.logDiagnosticMessage(DiagnosticLoggingKeys::unsuspendableDOMObjectKey(), activeDOMObject->activeDOMObjectName(), ShouldSample::Yes);
+ diagnosticLoggingClient.logDiagnosticMessage(DiagnosticLoggingKeys::unsuspendableDOMObjectKey(), activeDOMObject->activeDOMObjectName(), ShouldSample::No);
UNUSED_PARAM(activeDOMObject);
}
logPageCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::cannotSuspendActiveDOMObjectsKey());
@@ -285,7 +285,7 @@
else
PCLOG(" Page CANNOT be cached\n--------");
- diagnosticLoggingClient.logDiagnosticMessageWithResult(DiagnosticLoggingKeys::pageCacheKey(), DiagnosticLoggingKeys::canCacheKey(), isCacheable ? DiagnosticLoggingResultPass : DiagnosticLoggingResultFail, ShouldSample::Yes);
+ diagnosticLoggingClient.logDiagnosticMessageWithResult(DiagnosticLoggingKeys::pageCacheKey(), DiagnosticLoggingKeys::canCacheKey(), isCacheable ? DiagnosticLoggingResultPass : DiagnosticLoggingResultFail, ShouldSample::No);
return isCacheable;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes