curry cost

Benchmark created on


Setup

var curried = function(x){
      return function(y){
         return null;
      };
    };
    
    var precurried = curried(1);
    
    var notcurried = function(x, y){
       return null;
    };

Test runner

Ready to run.

Testing in
TestOps/sec
curried
return curried(1)(2);
ready
not curried
return notcurried(1,2);
ready
pre curried
return precurried(2);
ready

Revisions

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