Title: [235189] trunk/JSTests
Revision
235189
Author
[email protected]
Date
2018-08-22 11:53:27 -0700 (Wed, 22 Aug 2018)

Log Message

Make data-view-access.js run less time to prevent timeouts on 32-bit

* microbenchmarks/data-view-accesses.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (235188 => 235189)


--- trunk/JSTests/ChangeLog	2018-08-22 18:31:43 UTC (rev 235188)
+++ trunk/JSTests/ChangeLog	2018-08-22 18:53:27 UTC (rev 235189)
@@ -1,3 +1,9 @@
+2018-08-22  Saam barati  <[email protected]>
+
+        Make data-view-access.js run less time to prevent timeouts on 32-bit
+
+        * microbenchmarks/data-view-accesses.js:
+
 2018-08-22  Mark Lam  <[email protected]>
 
         The DFG CFGSimplification phase shouldn’t jettison a block when it’s the target of both branch directions.

Modified: trunk/JSTests/microbenchmarks/data-view-accesses.js (235188 => 235189)


--- trunk/JSTests/microbenchmarks/data-view-accesses.js	2018-08-22 18:31:43 UTC (rev 235188)
+++ trunk/JSTests/microbenchmarks/data-view-accesses.js	2018-08-22 18:53:27 UTC (rev 235189)
@@ -59,7 +59,7 @@
     const size = 16*1024;
     let ab = new ArrayBuffer(size);
     let dv = new DataView(ab);
-    for (let i = 0; i < 1000000; ++i) {
+    for (let i = 0; i < 100000; ++i) {
         let index = (Math.random() * size) >>> 0;
         index = Math.max(index - 8, 0);
         for (let f of getFuncs) {
@@ -70,6 +70,5 @@
             f(dv, index, 10);
         }
     }
-
 }
 test();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to