/* * Basic function call performance. */ if (typeof print !== 'function') { print = console.log; } function test() { var i; function f() { return; } for (i = 0; i < 1e7; i++) { f(); f(); f(); f(); f(); f(); f(); f(); f(); f(); } } try { test(); } catch (e) { print(e.stack || e); throw e; }