blob: 659a34439189a2db4150fe7e5285af4c9b03eb63 [file] [log] [blame]
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);