Fastest function definition (v4)

Revision 4 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Self
var result = function(){  }();
ready
Standard
function e(){  }
var result = e();
ready
Var
var e = function(){  };
var result = e();
ready
Call
var e = function(){  };
var result = e.call(this);
ready
Apply
var e = function(){  };
var result = e.apply(this);
ready

Revisions

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

  • Revision 1: published by soulcyon on
  • Revision 3: published by soulcyon on
  • Revision 4: published on