Sha256: a6b7aedafb22b05926339ea3c7a4030975a313a403c2b29e96f85a35bc9e277c

Contents?: true

Size: 203 Bytes

Versions: 5

Compression:

Stored size: 203 Bytes

Contents

function testDecayingInnerLoop() {
    var i, j, k = 10;
    for (i = 0; i < 5000; ++i) {
        for (j = 0; j < k; ++j);
            --k;
    }
    return i;
}
assertEq(testDecayingInnerLoop(), 5000);

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
johnson19-2.0.0.pre3 vendor/tracemonkey/trace-test/tests/basic/testDecayingInnerLoop.js
pre-johnson-2.0.0 vendor/tracemonkey/trace-test/tests/basic/testDecayingInnerLoop.js
johnson-2.0.0.pre3 vendor/tracemonkey/trace-test/tests/basic/testDecayingInnerLoop.js
johnson-2.0.0.pre2 vendor/tracemonkey/trace-test/tests/basic/testDecayingInnerLoop.js
johnson-2.0.0.pre1 vendor/tracemonkey/trace-test/tests/basic/testDecayingInnerLoop.js