anonymous-func

Benchmark created on


Preparation HTML

<script>
  function main(aFunc) {
  for (var i = 0; i < 10000; i++)
  aFunc();
  }
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
named
var func = function() {
return true;
}

main(func);
ready
anonymous
main(function() {
return true;
});
ready

Revisions

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