Title: [178614] trunk/LayoutTests
Revision
178614
Author
msab...@apple.com
Date
2015-01-16 16:37:08 -0800 (Fri, 16 Jan 2015)

Log Message

REGRESSION(178591): js/slow-stress/call-spread.html & js/slow-stress/new-spread.html
https://bugs.webkit.org/show_bug.cgi?id=140574

Rubber stamped by Oliver Hunt.

Changed the loop counts in the test to lower values to speed up the tests.

* js/slow-stress/script-tests/call-spread.js:
(test2):
(test3):
* js/slow-stress/script-tests/new-spread.js:
(test2):
(test3):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (178613 => 178614)


--- trunk/LayoutTests/ChangeLog	2015-01-17 00:35:49 UTC (rev 178613)
+++ trunk/LayoutTests/ChangeLog	2015-01-17 00:37:08 UTC (rev 178614)
@@ -1,3 +1,19 @@
+2015-01-16  Michael Saboff  <msab...@apple.com>
+
+        REGRESSION(178591): js/slow-stress/call-spread.html & js/slow-stress/new-spread.html
+        https://bugs.webkit.org/show_bug.cgi?id=140574
+
+        Rubber stamped by Oliver Hunt.
+
+        Changed the loop counts in the test to lower values to speed up the tests.
+
+        * js/slow-stress/script-tests/call-spread.js:
+        (test2):
+        (test3):
+        * js/slow-stress/script-tests/new-spread.js:
+        (test2):
+        (test3):
+
 2015-01-16  Zalan Bujtas  <za...@apple.com>
 
         When border-radius is present, inset/outset/groove/ridge border color changes.

Modified: trunk/LayoutTests/js/slow-stress/script-tests/call-spread.js (178613 => 178614)


--- trunk/LayoutTests/js/slow-stress/script-tests/call-spread.js	2015-01-17 00:35:49 UTC (rev 178613)
+++ trunk/LayoutTests/js/slow-stress/script-tests/call-spread.js	2015-01-17 00:37:08 UTC (rev 178614)
@@ -9,14 +9,14 @@
 
 var arrayArguments = [2, 3, 4]
 var result = 0;
-for (var i = 0; i < 1000000; i++)
+for (var i = 0; i < 50000; i++)
     result += testFunction(...arrayArguments);
 
-for (var i = 0; i < 1000000; i++)
+for (var i = 0; i < 50000; i++)
     result += testFunction(...[1, 2, result, 4]);
 
 function test2() {
-    for (var i = 0; i < 1000000; i++)
+    for (var i = 0; i < 50000; i++)
         result += testFunction(...arguments);
 }
 
@@ -25,11 +25,11 @@
 
 function test3() {
     aliasedArguments = arguments;
-    for (var i = 0; i < 1000000; i++)
+    for (var i = 0; i < 50000; i++)
         result += testFunction(...aliasedArguments);
 }
 
 test3(1,2,result,4)
 
-if (result != -856444619779264)
-    throw "Result was " + result + " expected -856444619779264";
\ No newline at end of file
+if (result != 43424761715344)
+    throw "Result was " + result + " expected 43424761715344";

Modified: trunk/LayoutTests/js/slow-stress/script-tests/new-spread.js (178613 => 178614)


--- trunk/LayoutTests/js/slow-stress/script-tests/new-spread.js	2015-01-17 00:35:49 UTC (rev 178613)
+++ trunk/LayoutTests/js/slow-stress/script-tests/new-spread.js	2015-01-17 00:37:08 UTC (rev 178614)
@@ -9,14 +9,14 @@
 
 var arrayArguments = [2, 3, 4]
 var result = 0;
-for (var i = 0; i < 1000000; i++)
+for (var i = 0; i < 50000; i++)
     new testFunction(...arrayArguments);
 
-for (var i = 0; i < 1000000; i++)
+for (var i = 0; i < 50000; i++)
     new testFunction(...[1, 2, result, 4]);
 
 function test2() {
-    for (var i = 0; i < 1000000; i++)
+    for (var i = 0; i < 50000; i++)
         new testFunction(...arguments);
 }
 
@@ -25,11 +25,11 @@
 
 function test3() {
     aliasedArguments = arguments;
-    for (var i = 0; i < 1000000; i++)
+    for (var i = 0; i < 50000; i++)
         new testFunction(...aliasedArguments);
 }
 
 test3(1,2,result,4)
 
-if (result != -2371153088)
-    throw "Result was " + result + " expected -2371153088";
\ No newline at end of file
+if (result != 2642352784)
+    throw "Result was " + result + " expected 2642352784";
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to