blob: 32dfaeb233f9833d5bb7fd432b10897d7af5b377 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function bar(a, b, c, d, e, f) { }
noInline(bar);
function foo(a, b, ...args) {
return bar(a, b, ...args);
}
noInline(foo);
let start = Date.now();
for (let i = 0; i < 500000; i++) {
foo(i, i+1, i+2, i+3, i+4, i+5);
}
const verbose = false;
if (verbose)
print(Date.now() - start);