various this state passing

Benchmark created on


Preparation HTML

<script>
  var o = {
   "p": function(that) {
    q++;
   },
   "q": 0
  };
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
bind
setInterval(o.p.bind(o), 50);
ready
closure
var f = function() {
 o.p(arguments);
}

setInterval(f, 50);
ready

Revisions

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