js/src/jit-test/tests/basic/testBug614653.js

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 /* Bug 614653 - This test .2 seconds with the fix, 20 minutes without. */
     2 for (var i = 0; i < 10; ++i) {
     3     var arr = [];
     4     var s = "abcdefghijklmnop";
     5     for (var j = 0; j < 50000; ++j) {
     6         s = "<" + s + ">";
     7         arr.push(s);
     8     }
     9     gc();
    10 }

mercurial