function

Benchmark created by oxy on


Test runner

Ready to run.

Testing in
TestOps/sec
1
var i = function(x, y) {
 return x + y;
};
ready
2
var i = Function("x,y", "return x+y;");
ready
3
var i = new Function("x,y", "return x+y;");
ready
4
function i(x, y) {
 return x + y;
}
ready

Revisions

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