Changeset 170586 in webkit


Ignore:
Timestamp:
Jun 30, 2014, 10:37:06 AM (11 years ago)
Author:
msaboff@apple.com
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:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r170576 r170586  
     12014-06-30  Michael Saboff  <msaboff@apple.com>
     2
     3        Reduce memory required for js/typedarray-zero-size.js
     4        https://bugs.webkit.org/show_bug.cgi?id=134448
     5
     6        Reviewed by Darin Adler.
     7
     8        Making the loop count down reduces memory usage from ~190MB to ~22MB while
     9        still testing the original issue.
     10
     11        * js/script-tests/typedarray-zero-size.js:
     12
    1132014-06-29  Yoav Weiss  <yoav@yoav.ws>
    214
  • trunk/LayoutTests/js/script-tests/typedarray-zero-size.js

    r158583 r170586  
    1111var result = 0;
    1212
    13 for (var i = 1; i < 10001; i++) {
     13for (var i = 10000; i > 0; i--) {
    1414    var newArray = foo();
    1515    var otherArray = new Array(i);
Note: See TracChangeset for help on using the changeset viewer.