Title: [260253] trunk/JSTests
Revision
260253
Author
[email protected]
Date
2020-04-17 08:41:55 -0700 (Fri, 17 Apr 2020)

Log Message

Reduce test iterations for stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js on mips
https://bugs.webkit.org/show_bug.cgi?id=210641

Patch by Paulo Matos <[email protected]> on 2020-04-17
Reviewed by Yusuke Suzuki.

Reduce test iteration count on mips for which the current value is too high.

* stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (260252 => 260253)


--- trunk/JSTests/ChangeLog	2020-04-17 15:24:56 UTC (rev 260252)
+++ trunk/JSTests/ChangeLog	2020-04-17 15:41:55 UTC (rev 260253)
@@ -1,3 +1,14 @@
+2020-04-17  Paulo Matos  <[email protected]>
+
+        Reduce test iterations for stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js on mips
+        https://bugs.webkit.org/show_bug.cgi?id=210641
+
+        Reviewed by Yusuke Suzuki.
+
+        Reduce test iteration count on mips for which the current value is too high.
+
+        * stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js:
+
 2020-04-17  Yusuke Suzuki  <[email protected]>
 
         [JSC] Map/Set iterator creation functions should fail with BadType etc. before executing insertChecks

Modified: trunk/JSTests/stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js (260252 => 260253)


--- trunk/JSTests/stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js	2020-04-17 15:24:56 UTC (rev 260252)
+++ trunk/JSTests/stress/array-buffer-view-watchpoint-can-be-fired-in-really-add-in-dfg.js	2020-04-17 15:41:55 UTC (rev 260253)
@@ -1,5 +1,8 @@
+//@ requireOptions("-e", "let iterations=40000") if ["mips"].include?($architecture)
 //@ runDefault("--jitPolicyScale=0")
 
+iterations = typeof(iterations) === 'undefined' ? 10000000 : iterations;
+
 function xxx() {
   const a = {};
   Object.defineProperty(a, 0, { get: foo });
@@ -8,7 +11,7 @@
     new Uint8Array(a);
   }
   new Promise(foo);
-  for (let i = 0; i < 10000000; i++)
+  for (let i = 0; i < iterations; i++)
     new ArrayBuffer(1000)
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to