call vs apply (v37)

Revision 37 of this benchmark created by Justin Ridgewell on


Setup

var target = function(test) {
       return test;
    };
    
    var obj = {};

Test runner

Ready to run.

Testing in
TestOps/sec
apply
target.apply(obj, []);  
ready
call
target.call(obj);
ready

Revisions

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