Adding _.bind (v43)

Revision 43 of this benchmark created by Max on


Preparation HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js"></script>
<script>
function foo(){}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
_.bind
var test = _.bind(function() {
  return this
}, this);
test();
ready
self
var self = this;
var test = function() {
  return self
};
test();
ready
bind()
var test = (function() {
  return this
}).bind(this);
test();
ready

Revisions

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