function vs Function (v32)

Revision 32 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
function(){}
var f1 = function() {
 var x = 1;
 return x;
}
ready
new Function
var f2 = new Function('var x = 1;return x;')
ready

Revisions

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