summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/testBug614653.js
blob: e09759ae585cd34afab41a8e4bdaf91eefc7beeb (plain)
1
2
3
4
5
6
7
8
9
10
/* Bug 614653 - This test .2 seconds with the fix, 20 minutes without. */
for (var i = 0; i < 10; ++i) {
    var arr = [];
    var s = "abcdefghijklmnop";
    for (var j = 0; j < 50000; ++j) {
        s = "<" + s + ">";
        arr.push(s);
    }
    gc();
}