Title: [285490] trunk/JSTests
Revision
285490
Author
[email protected]
Date
2021-11-09 04:12:44 -0800 (Tue, 09 Nov 2021)

Log Message

Unskip deltablue-for-of.js on arm and mips
https://bugs.webkit.org/show_bug.cgi?id=227291

Unreviewed gardening.

The test is not crashing but timeouts because of the number of
iterations. So to enable testing in more archs, we reduced the
number of iterations and constraints.

Patch by Mikhail R. Gadelha <[email protected]> on 2021-11-09

* typeProfiler/deltablue-for-of.js:
(deltaBlue):

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (285489 => 285490)


--- trunk/JSTests/ChangeLog	2021-11-09 11:48:32 UTC (rev 285489)
+++ trunk/JSTests/ChangeLog	2021-11-09 12:12:44 UTC (rev 285490)
@@ -1,3 +1,17 @@
+2021-11-09  Mikhail R. Gadelha  <[email protected]>
+
+        Unskip deltablue-for-of.js on arm and mips
+        https://bugs.webkit.org/show_bug.cgi?id=227291
+
+        Unreviewed gardening.
+
+        The test is not crashing but timeouts because of the number of
+        iterations. So to enable testing in more archs, we reduced the
+        number of iterations and constraints.
+
+        * typeProfiler/deltablue-for-of.js:
+        (deltaBlue):
+
 2021-11-09  Angelos Oikonomopoulos  <[email protected]>
 
         Unskip microbenchmarks/memcpy-typed-loop.js on arm/mips

Modified: trunk/JSTests/typeProfiler/deltablue-for-of.js (285489 => 285490)


--- trunk/JSTests/typeProfiler/deltablue-for-of.js	2021-11-09 11:48:32 UTC (rev 285489)
+++ trunk/JSTests/typeProfiler/deltablue-for-of.js	2021-11-09 12:12:44 UTC (rev 285490)
@@ -1,5 +1,10 @@
-//@ if $buildType == "debug" or $architecture =~ /(^arm$)|mips/ then skip else runTypeProfiler end
+//@ if $buildType == "debug" then skip else runTypeProfiler end
+//@ requireOptions("-e", "let iterations=15") if $architecture =~ /(^arm$)|mips/
+//@ requireOptions("-e", "let numConstraints=30") if $architecture =~ /(^arm$)|mips/
 
+iterations = typeof(iterations) === 'undefined' ? 30 : iterations;
+numConstraints = typeof(numConstraints) === 'undefined' ? 50 : numConstraints;
+
 // Copyright 2008 the V8 project authors. All rights reserved.
 // Copyright 1996 John Maloney and Mario Wolczko.
 
@@ -864,9 +869,9 @@
 var planner = null;
 
 function deltaBlue() {
-  chainTest(50);
-  projectionTest(50);
+  chainTest(numConstraints);
+  projectionTest(numConstraints);
 }
 
-for (var i = 0; i < 30; ++i)
+for (var i = 0; i < iterations; ++i)
     deltaBlue();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to