function vs Function (v35)

Revision 35 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
function(){}
var f1 = function() {
 var x = 1;
 console.log('1');
}
ready
new Function
var f1 = new function() {
 var x = 1;
 console.log('2');
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.