Regular vs bind

Benchmark created on


Setup

function test(msg) {
  var d = msg;
}

Test runner

Ready to run.

Testing in
TestOps/sec
Direct call
test("Hello");
ready
Bind
test.bind(null, "Hello")();
ready

Revisions

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