Title: [213945] trunk/Source/WTF
Revision
213945
Author
[email protected]
Date
2017-03-14 15:23:06 -0700 (Tue, 14 Mar 2017)

Log Message

Fix some typos in this benchmark.

Rubber stamped by Saam Barati.

* benchmarks/HashSetDFGReplay.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (213944 => 213945)


--- trunk/Source/WTF/ChangeLog	2017-03-14 21:58:39 UTC (rev 213944)
+++ trunk/Source/WTF/ChangeLog	2017-03-14 22:23:06 UTC (rev 213945)
@@ -1,5 +1,14 @@
 2017-03-14  Filip Pizlo  <[email protected]>
 
+        Fix some typos in this benchmark.
+
+        Rubber stamped by Saam Barati.
+
+        * benchmarks/HashSetDFGReplay.cpp:
+        (main):
+
+2017-03-14  Filip Pizlo  <[email protected]>
+
         Record the HashSet/HashMap operations in DFG/FTL/B3 and replay them in a benchmark
         https://bugs.webkit.org/show_bug.cgi?id=169590
 

Modified: trunk/Source/WTF/benchmarks/HashSetDFGReplay.cpp (213944 => 213945)


--- trunk/Source/WTF/benchmarks/HashSetDFGReplay.cpp	2017-03-14 21:58:39 UTC (rev 213944)
+++ trunk/Source/WTF/benchmarks/HashSetDFGReplay.cpp	2017-03-14 22:23:06 UTC (rev 213945)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-// Compile with: xcrun clang++ -o HashSetDFGReplay Source/WTF/benchmarks/HashSetDFGReplay.cpp -O2 -W -ISource/WTF -ISource/WTF/benchmarks -LWebKitBuild/Release -lWTF -framework Foundation -licucore -std=c++11 -fvisibility=hidden
+// Compile with: xcrun clang++ -o HashSetDFGReplay Source/WTF/benchmarks/HashSetDFGReplay.cpp -O2 -W -ISource/WTF -ISource/WTF/benchmarks -LWebKitBuild/Release -lWTF -framework Foundation -licucore -std=c++11 -fvisibility=hidden -DNDEBUG=1
 
 #include <wtf/DataLog.h>
 #include <wtf/HashSet.h>
@@ -10984,12 +10984,12 @@
 {
     WTF::initializeThreading();
     
-    MonotonicTime before = MonotonicTime::now();
+    WallTime before = WallTime::now();
     
     for (unsigned i = 0; i < 1000; ++i)
         benchmark();
 
-    MonotonicTime after = MonotonicTime::now();
+    WallTime after = WallTime::now();
     dataLog("That took ", after - before, "\n");    
     return 0;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to