summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug782087.js
blob: 472a0fa3e7afe152fd67fb68c10467c514739ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
test();
function test() {
    var n = 12000;
    var start = new Date();
    var mceil = Math.floor;
    for (i = 3; i<= n; i+=2) {}
    var end = mceil  ();
    var timetaken = end - start;
    timetaken = timetaken / 1000;
    return timetaken;
}