function vs Function (v16)

Revision 16 of this benchmark created by 4esn0k on


Test runner

Ready to run.

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

Revisions

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