Title: [182244] trunk/Source/WebCore
- Revision
- 182244
- Author
- achristen...@apple.com
- Date
- 2015-04-01 11:42:52 -0700 (Wed, 01 Apr 2015)
Log Message
Unreviewed build fix when using content extensions performance reporting.
* contentextensions/ContentExtensionCompiler.cpp:
(WebCore::ContentExtensions::compileRuleList):
Time how long it takes to build the DFAs.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (182243 => 182244)
--- trunk/Source/WebCore/ChangeLog 2015-04-01 18:36:43 UTC (rev 182243)
+++ trunk/Source/WebCore/ChangeLog 2015-04-01 18:42:52 UTC (rev 182244)
@@ -1,5 +1,13 @@
2015-04-01 Alex Christensen <achristen...@webkit.org>
+ Unreviewed build fix when using content extensions performance reporting.
+
+ * contentextensions/ContentExtensionCompiler.cpp:
+ (WebCore::ContentExtensions::compileRuleList):
+ Time how long it takes to build the DFAs.
+
+2015-04-01 Alex Christensen <achristen...@webkit.org>
+
Progress towards CMake on Windows and Mac.
https://bugs.webkit.org/show_bug.cgi?id=143293
Modified: trunk/Source/WebCore/contentextensions/ContentExtensionCompiler.cpp (182243 => 182244)
--- trunk/Source/WebCore/contentextensions/ContentExtensionCompiler.cpp 2015-04-01 18:36:43 UTC (rev 182243)
+++ trunk/Source/WebCore/contentextensions/ContentExtensionCompiler.cpp 2015-04-01 18:42:52 UTC (rev 182244)
@@ -178,7 +178,7 @@
#if CONTENT_EXTENSIONS_PERFORMANCE_REPORTING
double nfaBuildTimeEnd = monotonicallyIncreasingTime();
- dataLogF(" Time spent building the NFA: %f\n", (nfaBuildTimeEnd - nfaBuildTimeStart));
+ dataLogF(" Time spent building the NFAs: %f\n", (nfaBuildTimeEnd - nfaBuildTimeStart));
#endif
#if CONTENT_EXTENSIONS_STATE_MACHINE_DEBUGGING
@@ -211,6 +211,11 @@
compiler.compile();
}
+#if CONTENT_EXTENSIONS_PERFORMANCE_REPORTING
+ double dfaBuildTimeEnd = monotonicallyIncreasingTime();
+ dataLogF(" Time spent building and compiling the DFAs: %f\n", (dfaBuildTimeEnd - dfaBuildTimeStart));
+#endif
+
client.writeBytecode(WTF::move(bytecode));
client.writeActions(WTF::move(actions));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes