Title: [170586] trunk/LayoutTests
Revision
170586
Author
msab...@apple.com
Date
2014-06-30 10:37:06 -0700 (Mon, 30 Jun 2014)

Log Message

Reduce memory required for js/typedarray-zero-size.js
https://bugs.webkit.org/show_bug.cgi?id=134448

Reviewed by Darin Adler.

Making the loop count down reduces memory usage from ~190MB to ~22MB while
still testing the original issue.

* js/script-tests/typedarray-zero-size.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (170585 => 170586)


--- trunk/LayoutTests/ChangeLog	2014-06-30 16:59:24 UTC (rev 170585)
+++ trunk/LayoutTests/ChangeLog	2014-06-30 17:37:06 UTC (rev 170586)
@@ -1,3 +1,15 @@
+2014-06-30  Michael Saboff  <msab...@apple.com>
+
+        Reduce memory required for js/typedarray-zero-size.js
+        https://bugs.webkit.org/show_bug.cgi?id=134448
+
+        Reviewed by Darin Adler.
+
+        Making the loop count down reduces memory usage from ~190MB to ~22MB while
+        still testing the original issue.
+
+        * js/script-tests/typedarray-zero-size.js:
+
 2014-06-29  Yoav Weiss  <y...@yoav.ws>
 
         Add support for HTMLImageElement's sizes attribute

Modified: trunk/LayoutTests/js/script-tests/typedarray-zero-size.js (170585 => 170586)


--- trunk/LayoutTests/js/script-tests/typedarray-zero-size.js	2014-06-30 16:59:24 UTC (rev 170585)
+++ trunk/LayoutTests/js/script-tests/typedarray-zero-size.js	2014-06-30 17:37:06 UTC (rev 170586)
@@ -10,7 +10,7 @@
 
 var result = 0;
 
-for (var i = 1; i < 10001; i++) {
+for (var i = 10000; i > 0; i--) {
     var newArray = foo();
     var otherArray = new Array(i);
     for (var j = 0; j < i; ++j)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to